Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SID_NAME_USE enumeration (winnt.h)

The SID_NAME_USE enumeration contains values that specify the type of a security identifier (SID).

Syntax

typedef enum _SID_NAME_USE {
 SidTypeUser = 1,
 SidTypeGroup,
 SidTypeDomain,
 SidTypeAlias,
 SidTypeWellKnownGroup,
 SidTypeDeletedAccount,
 SidTypeInvalid,
 SidTypeUnknown,
 SidTypeComputer,
 SidTypeLabel,
 SidTypeLogonSession
} SID_NAME_USE, *PSID_NAME_USE;

Constants

 
SidTypeUser
Value: 1
A user SID.
SidTypeGroup
A group SID.
SidTypeDomain
A domain SID.
SidTypeAlias
An alias SID.
SidTypeWellKnownGroup
A SID for a well-known group.
SidTypeDeletedAccount
A SID for a deleted account.
SidTypeInvalid
A SID that is not valid.
SidTypeUnknown
A SID of unknown type.
SidTypeComputer
A SID for a computer.
SidTypeLabel
A mandatory integrity label SID.
SidTypeLogonSession

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also

Access Control Overview

Authorization Enumerations

LookupAccountName

LookupAccountSid


Feedback

Was this page helpful?

Additional resources