You are here

public function ServerInterface::deriveEmailFromLdapResponse in Lightweight Directory Access Protocol (LDAP) 8.4

Returns the user's email from the LDAP entry.

Parameters

\Symfony\Component\Ldap\Entry $ldap_entry: The LDAP entry.

Return value

string The user's mail value.

1 method overrides ServerInterface::deriveEmailFromLdapResponse()
Server::deriveEmailFromLdapResponse in ldap_servers/src/Entity/Server.php
Returns the user's email from the LDAP entry.

File

ldap_servers/src/ServerInterface.php, line 52

Class

ServerInterface
Server configuration entity interface.

Namespace

Drupal\ldap_servers

Code

public function deriveEmailFromLdapResponse(Entry $ldap_entry) : string;