// ntifs.h
typedef enum _SID_NAME_USE {
SidTypeUser,
SidTypeGroup,
SidTypeDomain,
SidTypeAlias,
SidTypeWellKnownGroup,
SidTypeDeletedAccount,
SidTypeInvalid,
SidTypeUnknown,
SidTypeComputer,
SidTypeLabel,
SidTypeLogonSession
} SID_NAME_USE, *PSID_NAME_USE;
View the official Windows Driver Kit DDI referenceNo description available.
The SID_NAME_USE enumeration type contains values that specify the type of a security identifier (SID).
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.
SidTypeLabelSidTypeLogonSessionThis 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.