interface LdapInterface
Ldap interface.
| ESCAPE_FILTER | |
| ESCAPE_DN |
| bind(string $dn = null, string $password = null) Return a connection bound to the ldap. | ||
| QueryInterface | query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. | |
| EntryManagerInterface | getEntryManager() | |
| string | escape(string $subject, string $ignore = '', int $flags = 0) Escape a string for use in an LDAP filter or DN. |
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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Ldap/LdapInterface.html