Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SID_NAME_USE enumeration

The SID_NAME_USE enumeration type contains values that specify the type of a security identifier (SID).

Syntax


typedef enum _SID_NAME_USE { 
  SidTypeUser            = 1,
  SidTypeGroup           = 2,
  SidTypeDomain          = 3,
  SidTypeAlias           = 4,
  SidTypeWellKnownGroup  = 5,
  SidTypeDeletedAccount  = 6,
  SidTypeInvalid         = 7,
  SidTypeUnknown         = 8,
  SidTypeComputer        = 9,
  SidTypeLabel           = 10
} SID_NAME_USE, *PSID_NAME_USE;

Constants

SidTypeUser

This value indicates a user SID.

SidTypeGroup

This value indicates a group SID.

SidTypeDomain

This value indicates a domain SID.

SidTypeAlias

This value indicates an alias SID.

SidTypeWellKnownGroup

This value indicates an SID for a well-known group.

SidTypeDeletedAccount

This value indicates a SID for a deleted account.

SidTypeInvalid

This value indicates an invalid SID.

SidTypeUnknown

This value indicates an unknown SID type.

SidTypeComputer

This value indicates a SID for a computer.

SidTypeLabel

Remarks

This enumeration type is the same as the Win32 SID_NAME_USE enumeration type defined in winnt.h used by the Win32 LookupAccountName and LookupAccountSid functions.

Requirements

Header

Ntifs.h (include Ntifs.h)

See also

SecLookupAccountName
SecLookupAccountSid

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft