SID structure (winnt.h)
The security identifier (SID) structure is a variable-length structure used to uniquely identify users or groups.
Applications should not modify a SID directly. To create and manipulate a security identifier, use the functions listed in the See Also section.
Syntax
typedef struct _SID {
BYTE Revision;
BYTE SubAuthorityCount;
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
#if ...
DWORD *SubAuthority[];
#else
DWORD SubAuthority[ANYSIZE_ARRAY];
#endif
} SID, *PISID;
Members
Revision
SubAuthorityCount
IdentifierAuthority
SubAuthority[*]
SubAuthority[ANYSIZE_ARRAY]
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winnt.h (include Windows.h) |