LDAP Account Manager

SelfServiceLdapConnection
in package

LDAP connection for self-service.

Table of Contents

$profile  : selfServiceProfile
$server  : Connection|null
__construct()  : mixed
Constructor
__serialize()  : array<string, selfServiceProfile>
Closes connection to the LDAP server before serialization.
__unserialize()  : void
Restores the profile.
bind()  : bool
Binds with the given credentials.
getServer()  : Connection|null
Returns the LDAP handle.

Properties

Methods

bind()

Binds with the given credentials.

public bind(string $userDn, string $password) : bool
Parameters
$userDn : string

user DN

$password : string

password

Return values
bool

bind successful

getServer()

Returns the LDAP handle.

public getServer() : Connection|null
Return values
Connection|null

LDAP handle

Search results