_SID structure

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;
  DWORD                    SubAuthority[ANYSIZE_ARRAY];
} SID, *PISID;

Members

Revision

SubAuthorityCount

IdentifierAuthority

SubAuthority.#3093549944

SubAuthority.#3093549944.size_is

SubAuthority.#3093549944.size_is.SubAuthorityCount

SubAuthority.#3841401141

Requirements

   
Windows version Windows XP [desktop apps only] Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See Also

AllocateAndInitializeSid

ConvertSidToStringSid

ConvertStringSidToSid

CopySid

EqualSid

FreeSid

GetLengthSid

GetSidIdentifierAuthority

GetSidLengthRequired

GetSidSubAuthority

GetSidSubAuthorityCount

InitializeSid

IsValidSid

LookupAccountName

LookupAccountSid

SID Components