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) |
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