LdapClientInterface
interface LdapClientInterface
Ldap interface.
Methods
bind(string $dn = null, string $password = null) Return a connection bound to the ldap. | ||
find($dn, $query, $filter = '*') | ||
string | escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. |
Details
bind(string $dn = null, string $password = null)
Return a connection bound to the ldap.
Parameters
string | $dn | A LDAP dn |
string | $password | A password |
Exceptions
ConnectionException | if dn / password could not be bound |
find($dn, $query, $filter = '*')
Parameters
$dn | ||
$query | ||
$filter |
string escape(string $subject, string $ignore = '', int $flags)
Escape a string for use in an LDAP filter or DN.
Parameters
string | $subject | |
string | $ignore | |
int | $flags |
Return Value
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Ldap/LdapClientInterface.html