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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for