Table of Contents

Class ActiveDirectoryAccountReference

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Active Directory account reference.

public class ActiveDirectoryAccountReference : GlobalSerializableClassicBase, IComparable<ActiveDirectoryAccountReference>
Inheritance
ActiveDirectoryAccountReference
Implements

Constructors

ActiveDirectoryAccountReference()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference class.

public ActiveDirectoryAccountReference()

ActiveDirectoryAccountReference(string)

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference class.

public ActiveDirectoryAccountReference(string accountName)

Parameters

accountName string

The account name.

Properties

AccountName

Gets or sets the account name in the format "DOMAIN\Username".

public string AccountName { get; set; }

Property Value

string

AccountType

Gets or sets the type of account.

public ActiveDirectoryAccountReferenceAccountType AccountType { get; set; }

Property Value

ActiveDirectoryAccountReferenceAccountType

AccountTypeString

Gets the type of account as a human readable string.

public string AccountTypeString { get; set; }

Property Value

string

CanonicalName

Gets or sets the canonical name.

public string CanonicalName { get; set; }

Property Value

string

DistinguishedName

Gets or sets the distinguished name of the account.

public string DistinguishedName { get; set; }

Property Value

string

HasValue

Gets whether the account name has been resolved.

[Browsable(false)]
public bool HasValue { get; }

Property Value

bool

IsResolved

Gets whether the account name has been resolved.

[Browsable(false)]
public bool IsResolved { get; }

Property Value

bool

SecurityIdentifier

Gets or sets the account security identifier.

public string SecurityIdentifier { get; set; }

Property Value

string

Methods

Clone()

Creates a clone of this CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference object.

public ActiveDirectoryAccountReference Clone()

Returns

ActiveDirectoryAccountReference

A clone of this CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference object.

CompareTo(ActiveDirectoryAccountReference)

Compares two CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference objects to allow sorting alphabetically by SAM account name.

public int CompareTo(ActiveDirectoryAccountReference other)

Parameters

other ActiveDirectoryAccountReference

The CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference object to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.ActiveDirectoryAccountReference objects.

ToString()

Returns the account reference as a human readable string.

public override string ToString()

Returns

string

The account reference as a human readable string.