_SID structure

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.

Syntax

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

Members

Requirements

   
Header ntifs.h (include Ntifs.h)

See Also

RtlCopySid

RtlEqualPrefixSid

RtlEqualSid

RtlGetOwnerSecurityDescriptor

RtlInitializeSid

RtlLengthSid

RtlSetOwnerSecurityDescriptor

RtlSubAuthoritySid

RtlValidSid

SID_AND_ATTRIBUTES

SID_IDENTIFIER_AUTHORITY