Table of Contents

Class ActiveDirectoryAttribute

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

Represents an Active Directory attribue for a given Active Directory object.

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

Constructors

ActiveDirectoryAttribute()

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

public ActiveDirectoryAttribute()

ActiveDirectoryAttribute(string)

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

public ActiveDirectoryAttribute(string attributeName)

Parameters

attributeName string

The attribute name.

ActiveDirectoryAttribute(string, string)

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

public ActiveDirectoryAttribute(string attributeName, string displayName)

Parameters

attributeName string

The attribute name.

displayName string

The display name of the attribute.

ActiveDirectoryAttribute(string, string, object)

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

public ActiveDirectoryAttribute(string attributeName, string displayName, object value)

Parameters

attributeName string

The attribute name.

displayName string

The display name of the attribute.

value object

The value of the attribute.

Properties

AttributeName

Gets or sets the name of the attribute - for example "whenCreated".

public string AttributeName { get; set; }

Property Value

string

DisplayName

Gets or sets the display name of the attribute - for example "Creation Date".

public string DisplayName { get; set; }

Property Value

string

DisplayValue

Gets the display value of the attribute.

public string DisplayValue { get; set; }

Property Value

string

Value

Gets or sets the value of the attribute.

public object Value { get; set; }

Property Value

object

ValueDataType

Gets the value data type.

public string ValueDataType { get; set; }

Property Value

string

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.ActiveDirectoryAttribute cloned from this object.

public ActiveDirectoryAttribute Clone()

Returns

ActiveDirectoryAttribute

A new CENTREL.XIA.Configuration.Types.ActiveDirectoryAttribute.

CompareTo(ActiveDirectoryAttribute)

Compares two CENTREL.XIA.Configuration.Types.ActiveDirectoryAttribute objects to allow sorting alphabetically by display name.

public int CompareTo(ActiveDirectoryAttribute other)

Parameters

other ActiveDirectoryAttribute

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

Returns

int

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

ToString()

Returns the name of the attribute - for example "whenCreated".

public override string ToString()

Returns

string

The name of the attribute - for example "whenCreated".