SID structure (ntifs.h)
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.
Syntax
typedef struct _SID {
UCHAR Revision;
UCHAR SubAuthorityCount;
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
#if ...
ULONG *SubAuthority[];
#else
ULONG SubAuthority[ANYSIZE_ARRAY];
#endif
} SID, *PISID;
Members
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[*]
SubAuthority[ANYSIZE_ARRAY]
Requirements
Requirement | Value |
---|---|
Header | ntifs.h (include Ntifs.h) |