Click or drag to resize
Galactic API

LDAP Constructor

Establishes a connection with an LDAP server that can be used to query or modify its contents. A list of servers by fully qualified domain name, host name, ip address, or null.The port number on the LDAP server that is listening for requests.(Optional) The type of authentication to use when connecting with the server. By default this is set to Anonymous (i.e. no credentials required).(Optional) The user name to use when connecting to the LDAP server.(Optional) The password to use with the user name provided to connect to the LDAP server.(Optional) The domain or computer name associated with the user credentials provided.(Optional) If enabled, the LDAP connection will use the logon credentials from the current session. Disabled by default.

Namespace:  Galactic.LDAP
Assembly:  Galactic.LDAP (in Galactic.LDAP.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public LDAP(
	List<string> servers,
	int portNumber,
	AuthType authType = AuthType.Anonymous,
	string userName = null,
	SecureString password = null,
	string domainName = null,
	bool useLogonCredentials = false
)

Parameters

servers
Type: System.Collections.GenericListString
portNumber
Type: SystemInt32
authType (Optional)
Type: System.DirectoryServices.ProtocolsAuthType
userName (Optional)
Type: SystemString
password (Optional)
Type: System.SecuritySecureString
domainName (Optional)
Type: SystemString
useLogonCredentials (Optional)
Type: SystemBoolean
See Also