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
stringThe account name.
Properties
AccountName
Gets or sets the account name in the format "DOMAIN\Username".
public string AccountName { get; set; }
Property Value
AccountType
Gets or sets the type of account.
public ActiveDirectoryAccountReferenceAccountType AccountType { get; set; }
Property Value
AccountTypeString
Gets the type of account as a human readable string.
public string AccountTypeString { get; set; }
Property Value
CanonicalName
Gets or sets the canonical name.
public string CanonicalName { get; set; }
Property Value
DistinguishedName
Gets or sets the distinguished name of the account.
public string DistinguishedName { get; set; }
Property Value
HasValue
Gets whether the account name has been resolved.
[Browsable(false)]
public bool HasValue { get; }
Property Value
IsResolved
Gets whether the account name has been resolved.
[Browsable(false)]
public bool IsResolved { get; }
Property Value
SecurityIdentifier
Gets or sets the account security identifier.
public string SecurityIdentifier { get; set; }
Property Value
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
ActiveDirectoryAccountReferenceThe 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.