_SID_NAME_USE Enumeration

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

Syntax

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

Constants

SidTypeUser 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

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

See Also

Access Control Overview

Authorization Enumerations

LookupAccountName

LookupAccountSid