Click or drag to resize
Galactic API

ActiveDirectory Constructor (String, String, String)

Binds to Active Directory. Uses the current session credentials to authenticate.

Namespace:  Galactic.ActiveDirectory
Assembly:  Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public ActiveDirectory(
	string domainName = null,
	string ouDn = null,
	string siteName = "Default-First-Site-Name"
)

Parameters

domainName (Optional)
Type: SystemString
(Optional) The DNS style domain name of the Active Directory to connect to. If left unspecified, the domain that the computer is currently connected to will be used.
ouDn (Optional)
Type: SystemString
(Optional) The distinguished name of the OU to use as a base for operations. If left unspecified, the root of the domain will be used.
siteName (Optional)
Type: SystemString
(Optional)The name of a site in Active Directory to use the domain controllers from. Defaults to DEFAULT_FIRST_SITE_NAME if not supplied.
See Also