Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SID_NAME_USE enumeration type contains values that specify the type of a security identifier (SID).
Syntax
typedef enum _SID_NAME_USE {
SidTypeUser,
SidTypeGroup,
SidTypeDomain,
SidTypeAlias,
SidTypeWellKnownGroup,
SidTypeDeletedAccount,
SidTypeInvalid,
SidTypeUnknown,
SidTypeComputer,
SidTypeLabel,
SidTypeLogonSession
} SID_NAME_USE, *PSID_NAME_USE;
Constants
SidTypeUserThis value indicates a user SID. |
SidTypeGroupThis value indicates a group SID. |
SidTypeDomainThis value indicates a domain SID. |
SidTypeAliasThis value indicates an alias SID. |
SidTypeWellKnownGroupThis value indicates an SID for a well-known group. |
SidTypeDeletedAccountThis value indicates a SID for a deleted account. |
SidTypeInvalidThis value indicates an invalid SID. |
SidTypeUnknownThis value indicates an unknown SID type. |
SidTypeComputerThis value indicates a SID for a computer. |
SidTypeLabel |
SidTypeLogonSession |
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
| Requirement | Value |
|---|---|
| Header | ntifs.h (include Ntifs.h) |