ActiveDirectory Class |
Namespace: Galactic.ActiveDirectory
The ActiveDirectory type exposes the following members.
Name | Description | |
---|---|---|
ActiveDirectory(String, String) |
Binds to Active Directory using the configuration in the specified configuration item.
| |
ActiveDirectory(String, String, String) |
Binds to Active Directory. Uses the current session credentials to authenticate.
| |
ActiveDirectory(String, String, SecureString, String) |
Binds to Active Directory.
| |
ActiveDirectory(String, String, String, SecureString, String) |
Constructs an Active Directory object with a base of the specified OU. Binds to Active Directory.
|
Name | Description | |
---|---|---|
AdministratorsGroupDN |
The distinguished name of the Administrators group for this domain.
| |
DistinguishedName |
The base distinguished name (DN) of Active Directory.
| |
DomainAdminsGroupDN |
The distinguished name of the Domain Administrators group for this domain.
| |
DomainUsersGroupDN |
The distinguished name of the Domain Users group for this domain.
| |
EnterpriseAdminsGroupDN |
The distinguished name of the Enterprise Administrators group for this domain.
| |
Name |
The domain name of the Active Directory.
| |
NTName |
The NT style domain name of the Active Directory.
| |
WellKnownSid_System |
The SYSTEM sid.
|
Name | Description | |
---|---|---|
Add |
Adds an entry to the Active Directory with the specified distinguished name and attributes.
| |
AddOrReplaceAttributeValue |
Adds or replaces the attribute value(s) in the supplied entry.
| |
AppendDistinguishedName |
Appends the distinguished name of this Active Directory domain to the relative path to the root supplied.
| |
Delete |
Deletes an entry with the specified GUID from Active Directory.
| |
DeleteAttribute |
Deletes an attribute's values from the specified entry in Active Directory.
| |
Dispose |
Releases underlying resources associated with the Active Directory connection.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetByteAttributeValue |
Gets the first byte attribute value from the supplied entry.
| |
GetByteAttributeValues |
Gets all byte attribute values from the supplied entry.
| |
GetDateTimeFromUTCCodedTime |
Gets a DateTime representation from the UTC coded time string used by some Active Directory attributes.
| |
GetEntries |
Gets all entries in a search given an LDAP search filter.
| |
GetEntriesByAttribute |
Gets entries that match a given wildcarded (*) attribute value in the supplied attribute.
| |
GetEntriesBySAMAccountName |
Gets entries that match a given wildcarded (*) SAM account name.
| |
GetEntry |
Gets the first entry in a search given an LDAP search filter.
| |
GetEntryByAccountId |
Gets an entry given its Account ID.
| |
GetEntryByAttribute |
Gets an entry given an attribute name and value to search for.
| |
GetEntryByCommonName |
Gets an entry given its common name.
| |
GetEntryByDistinguishedName |
Gets an entry given its distinguished name.
| |
GetEntryByEmailAddress |
Gets an entry given its E-mail address.
| |
GetEntryByGUID |
Gets an entry given its GUID.
| |
GetEntryBySAMAccountName |
Gets an entry given its SAM account name.
| |
GetGUID |
Gets the GUID of the supplied entry.
| |
GetGUIDByAttribute |
Gets the GUID of the entry with the supplied attribute value.
| |
GetGUIDByCommonName |
Gets the GUID of the entry with the supplied common name.
| |
GetGUIDByDistinguishedName |
Gets the GUID of the entry with the supplied distinguished name.
| |
GetGUIDByEmployeeNumber |
Gets the GUID of the entry with the supplied employee number.
| |
GetGUIDBySAMAccountName |
Gets the GUID of the entry with the supplied SAM account name.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIntervalAttributeValue |
Gets the UTC DateTime from a Interval attribute of the supplied entry.
| |
GetSiteDomainControllers |
Gets the domain controllers associated with a specific Active Directory site from the Active Directory's DNS SRV records.
| |
GetStringAttributeValue |
Gets the first string attribute value from the supplied entry.
| |
GetStringAttributeValues |
Gets all string attribute values from the supplied entry.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserAccountControlName |
Gets a string with the name of a User Account Control flag given its value.
| |
IsGroupNameValid |
Checks whether the group name supplied conforms to the limitations imposed by Active Directory.
Active Directory Group Name Limitations:
63 character length limit
Can not consist solely of numbers, periods, or spaces.
There must be no leading periods or spaces.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveRenameObject |
Moves and / or renames an object in Active Directory.
| |
SetSearchBase |
Sets the object that is the base for all searches within Active Directory.
This only needs to be set if you need to search somewhere other than the base of the directory.
| |
ToInterval(DateTime) |
Gets a Interval value of the supplied DateTime.
Interval attributes are stored as Windows File Time strings with the number of 100-nanosecond intervals that have elapsed since 12:00 midnight, January 1, 1601 AD, UTC.
| |
ToInterval(UInt64) |
Gets a Interval value of the supplied UInt64.
Interval attributes are stored as Windows File Time strings with the number of 100-nanosecond intervals that have elapsed since 12:00 midnight, January 1, 1601 AD, UTC.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UserAccountControlContains |
Tests whether an integer contains a UserAccountControl flag.
|
Name | Description | |
---|---|---|
DEFAULT_FIRST_SITE_NAME |
The default first site name in Active Directory.
| |
GROUP_NAME_MAX_CHARS |
The maximum number of characters supported for a group's name in Active Directory.
| |
MAX_NUM_MULTIVALUE_ATTRIBUTES |
The maximum number of values that can be retrieved from a multi-value attribute in a single search request.
Windows 2000 DCs do not support this value and default to a maximum of 1000;
| |
PAGE_SIZE |
The size of page to use when searching Active Directory. This number is based upon
hardcoded Microsoft limits within Active Directory's architecture.
|