SID_IDENTIFIER_AUTHORITY Structure
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 authorityValue
SECURITY_NULL_SID_AUTHORITY0
SECURITY_WORLD_SID_AUTHORITY1
SECURITY_LOCAL_SID_AUTHORITY2
SECURITY_CREATOR_SID_AUTHORITY3
SECURITY_NON_UNIQUE_AUTHORITY4
SECURITY_NT_AUTHORITY5
SECURITY_RESOURCE_MANAGER_AUTHORITY9

 

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

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinnt.h (include Windows.h)

See Also

AllocateAndInitializeSid
GetSidIdentifierAuthority
InitializeSid
SID

Send comments about this topic to Microsoft

Build date: 9/11/2009

Community Content

The meaning of "value" for a byte[6]
Added by:Roland Illig
It is not documented explicitly, but it seems that to get the 48-bit value, you have to interpret the six bytes as being encoded in big endian order. For example, the 48-bit value 5 is encoded as {0,0,0,0,0,5}.

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View