Export (0) Print
Expand All

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            = 1,
  SidTypeGroup,
  SidTypeDomain,
  SidTypeAlias,
  SidTypeWellKnownGroup,
  SidTypeDeletedAccount,
  SidTypeInvalid,
  SidTypeUnknown,
  SidTypeComputer,
  SidTypeLabel
} 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.

Requirements

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft