_SID_IDENTIFIER_AUTHORITY structure

The SID_IDENTIFIER_AUTHORITY structure represents the top-level authority of a security identifier (SID).

Syntax

typedef struct _SID_IDENTIFIER_AUTHORITY {
  BYTE Value[6];
} SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY;

Members

Value

An array of 6 bytes specifying a SID's top-level authority.

Remarks

The identifier authority value identifies the agency that issued the SID. The following identifier authorities are predefined.

Identifier authority Value
SECURITY_NULL_SID_AUTHORITY 0
SECURITY_WORLD_SID_AUTHORITY 1
SECURITY_LOCAL_SID_AUTHORITY 2
SECURITY_CREATOR_SID_AUTHORITY 3
SECURITY_NON_UNIQUE_AUTHORITY 4
SECURITY_NT_AUTHORITY 5
SECURITY_RESOURCE_MANAGER_AUTHORITY 9
 

A SID must contain a top-level authority and at least one relative identifier (RID) value.

Requirements

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

See Also

AllocateAndInitializeSid

GetSidIdentifierAuthority

InitializeSid

SID