Click or drag to resize
Galactic API

ActiveDirectoryObject Class

Inheritance Hierarchy

Namespace:  Galactic.ActiveDirectory
Assembly:  Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public class ActiveDirectoryObject : IComparable<ActiveDirectoryObject>, 
	IEqualityComparer<ActiveDirectoryObject>

The ActiveDirectoryObject type exposes the following members.

Constructors
  NameDescription
Public methodActiveDirectoryObject(ActiveDirectory, SearchResultEntry)
Gets a directory object from a supplied search result entry.
Public methodActiveDirectoryObject(ActiveDirectory, Guid)
Gets a directory object from AD with the supplied GUID.
Top
Properties
  NameDescription
Public propertyCommonName
The Common Name (CN) of the object in Active Directory.
Public propertyCreateTimeStamp
The time the object was created in UTC.
Public propertyDistinguishedName
The Distinguished Name (DN) of the object in Active Directory.
Public propertyGUID
The GUID of the object in Active Directory.
Public propertyOrganizationalUnit
The distinguished name of the organizational unit or parent object containing the object.
Public propertySchemaClasses
The schema class types that identify the type of object this is in Active Directory. Examples: group, user, etc.
Top
Methods
  NameDescription
Public methodCompareTo
Compares this ActiveDirectoryObject to another ActiveDirectoryObject.
Public methodDeleteAttribute
Deletes values from an attribute.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(ActiveDirectoryObject, ActiveDirectoryObject)
Checks whether x and y are equal (using GUIDs).
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetByteAttributeValue
Gets the first byte array value from the supplied attribute of the object.
Public methodGetByteAttributeValues
Gets all byte array values from the supplied attribute of the object.
Protected methodGetEntryFromAD(Guid)
Gets new data for the object from AD and places the values in the entry variable within the object.
Protected methodGetEntryFromAD(Guid, ListString)
Gets new data for the object from AD and places the values in the entry variable within the object.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHashCode(ActiveDirectoryObject)
Generates a hash code for the ActiveDirectoryObject supplied.
Public methodGetIntervalAttributeValue
Gets the UTC DateTime from a Interval attribute.
Public methodGetStringAttributeValue
Gets the first string value from the supplied attribute of the object.
Public methodGetStringAttributeValues
Gets all string values from the supplied attribute of the object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveRename
Moves and / or renames this object.
Public methodRefresh
Refreshes the object to retrieve any changes made to attributes since creation.
Public methodSetAttribute
Sets attribute of an object. If a null or empty values object is supplied no modifications will be made.
Public methodSetStringAttribute
Sets a single value string attribute of an object. If a null or empty value is supplied, the attribute will be cleared / deleted.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldAD
Protected fieldAdditionalAttributes
Protected fieldStatic memberAttributeNames
The list of Attributes that should be retrieved when searching for the entry in AD.
Protected fieldAttributes
Protected fieldEntry
Protected fieldJAN_01_1601
Top
See Also