interface LdapClientInterface implements LdapInterface
deprecated
Ldap interface.
This interface is used for the BC layer with branch 2.8 and 3.0.
bind(string $dn = null, string $password = null) Return a connection bound to the ldap. | from LdapInterface | |
QueryInterface | query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. | from LdapInterface |
EntryManagerInterface | getEntryManager() | from LdapInterface |
string | escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. | from LdapInterface |
array|null | find(string $dn, string $query, mixed $filter = '*') Find a username into ldap connection. |
Return a connection bound to the ldap.
string | $dn | A LDAP dn |
string | $password | A password |
ConnectionException | If dn / password could not be bound. |
Queries a ldap server for entries matching the given criteria.
string | $dn | |
string | $query | |
array | $options |
QueryInterface |
EntryManagerInterface |
Escape a string for use in an LDAP filter or DN.
string | $subject | |
string | $ignore | |
int | $flags |
string |
Find a username into ldap connection.
string | $dn | |
string | $query | |
mixed | $filter |
array|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Ldap/LdapClientInterface.html