TestimoX

API Reference

Class

IdentityInfo

Namespace ADPlayground.Identity
Assembly ADPlayground

Holds detailed information about an identity resolution.

Inheritance

  • Object
  • IdentityInfo

Constructors

public IdentityInfo(String name, SecurityIdentifier sid, String domainName, AdministrativeIdentityType type, String errorMessage) #

Initializes a new instance of the IdentityInfo class.

Parameters

name System.String requiredposition: 0
Resolved name.
sid System.Security.Principal.SecurityIdentifier requiredposition: 1
Resolved security identifier.
domainName System.String requiredposition: 2
Resolved domain name.
type ADPlayground.Identity.AdministrativeIdentityType requiredposition: 3
Classification of the identity.
errorMessage System.String requiredposition: 4
Resolution error if any.

Properties

public String Name { get; } #

Gets the resolved name.

public SecurityIdentifier Sid { get; } #

Gets the resolved security identifier.

public String DomainName { get; } #

Gets the resolved domain name.

public AdministrativeIdentityType Type { get; } #

Gets the classification of the identity.

public String ErrorMessage { get; } #

Gets the resolution error if any.

public IdentityObjectKind Kind { get; set; } #

Directory object kind (user/group/computer/etc.).

public String DistinguishedName { get; set; } #

LDAP distinguished name.

public String DisplayName { get; set; } #

Preferred display name.

public String SamAccountName { get; set; } #

SAM account name.

public String UserPrincipalName { get; set; } #

User principal name.

public Nullable<Guid> ObjectGuid { get; set; } #

Object GUID.

public String DomainNetBios { get; set; } #

NetBIOS domain name.

public Nullable<Boolean> Enabled { get; set; } #

Enabled state for account objects.

public String GroupScope { get; set; } #

Group scope (Global/DomainLocal/Universal) when applicable.

public String GroupType { get; set; } #

Group type (Security/Distribution) when applicable.

public Nullable<Boolean> IsWellKnown { get; set; } #

True when the SID is well-known.

public Nullable<Boolean> IsServiceSid { get; set; } #

True when the SID is a service SID (S-1-5-80-...).

public Nullable<Boolean> IsForeignSid { get; set; } #

True when the SID is outside the local account domain (foreign).

public Boolean Fallback { get; set; } #

Indicates that DisplayName used a fallback (Name/SID/DomainName) instead of directory displayName.