// ntifs.h
typedef struct _SID {
UCHAR Revision;
UCHAR SubAuthorityCount;
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
#if ...
ULONG *SubAuthority[];
#else
ULONG SubAuthority[ANYSIZE_ARRAY];
#endif
} SID, *PISID;
View the official Windows Driver Kit DDI reference
No description available.
The security identifier (SID) structure is a variable-length structure used to uniquely identify users or groups.
Drivers must not modify the SID structure directly. To create and manipulate a security identifier, use the support routines listed in the See Also section.
Revision
The revision level assigned to the SID.
SubAuthorityCount
Number of subauthorities in the SID.
IdentifierAuthority
A SID_IDENTIFIER_AUTHORITY structure that represents the top-level authority of the SID.
SubAuthority[*]
The subauthority of the SID.
SubAuthority[ANYSIZE_ARRAY]
The subauthority of the SID.