Click or drag to resize
Galactic API

ActiveDirectory Constructor (String, String, SecureString, String)

Binds to Active Directory.

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

Parameters

domainName
Type: SystemString
The DNS style domain name of the Active Directory to connect to.
userName
Type: SystemString
The username of the account in AD to use when making the connection.
password
Type: System.SecuritySecureString
The password of the account.
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