IdentityType Enumeration

 

Specifies the format of the identity.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public enum IdentityType

Member nameDescription
DistinguishedName

The identity is a Distinguished Name (DN).

Guid

The identity is a Globally Unique Identifier (GUID).

Name

The identity is a name.

SamAccountName

The identity is a Security Account Manager (SAM) name.

Sid

The identity is a Security Identifier (SID) in Security Descriptor Definition Language (SDDL) format.

UserPrincipalName

The identity is a User Principal Name (UPN).

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: