SID

The security identifier (SID) structure is a variable-length structure used to uniquely identify users or groups.

Drivers are not to modify the SID structure directly. To create and manipulate a security identifier, use the support routines listed in the See Also section.

typedef struct _SID {
  UCHAR  Revision;
  UCHAR  SubAuthorityCount;
  SID_IDENTIFIER_AUTHORITY  IdentifierAuthority;
  ULONG  SubAuthority[ANYSIZE_ARRAY];
} SID, *PISID;

Requirements

Header

Ntifs.h (include Ntifs.h)

See also

RtlCopySid
RtlEqualPrefixSid
RtlEqualSid
RtlGetOwnerSecurityDescriptor
RtlInitializeSid
RtlLengthSid
RtlSetOwnerSecurityDescriptor
RtlSubAuthoritySid
RtlValidSid
SID_AND_ATTRIBUTES
SID_IDENTIFIER_AUTHORITY

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft