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
stringThe attribute name.
ActiveDirectoryAttribute(string, string)
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ActiveDirectoryAttribute class.
public ActiveDirectoryAttribute(string attributeName, string displayName)
Parameters
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
stringThe attribute name.
displayName
stringThe display name of the attribute.
value
objectThe value of the attribute.
Properties
AttributeName
Gets or sets the name of the attribute - for example "whenCreated".
public string AttributeName { get; set; }
Property Value
DisplayName
Gets or sets the display name of the attribute - for example "Creation Date".
public string DisplayName { get; set; }
Property Value
DisplayValue
Gets the display value of the attribute.
public string DisplayValue { get; set; }
Property Value
Value
Gets or sets the value of the attribute.
public object Value { get; set; }
Property Value
ValueDataType
Gets the value data type.
public string ValueDataType { get; set; }
Property Value
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
ActiveDirectoryAttributeThe 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".