public function SimpleLdapServer::connect in Simple LDAP 8
1 call to SimpleLdapServer::connect()
- SimpleLdapServer::__construct in src/
SimpleLdapServer.php - Constructs a SimpleLdapServer.
File
- src/
SimpleLdapServer.php, line 281
Class
Namespace
Drupal\simple_ldapCode
public function connect() {
try {
$this->ldap
->connect();
} catch (SimpleLdapException $e) {
return FALSE;
}
return TRUE;
}