2 out of 2 rated this helpful - Rate this topic

SID_NAME_USE enumeration

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2003

Header

Winnt.h (include Windows.h)

See also

Access Control Overview
Authorization Enumerations
LookupAccountName
LookupAccountSid

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ