public function ServerInterface::deriveUsernameFromLdapResponse in Lightweight Directory Access Protocol (LDAP) 8.4
Returns the username from the LDAP entry.
Parameters
\Symfony\Component\Ldap\Entry $ldap_entry: The LDAP entry.
Return value
string The user name.
1 method overrides ServerInterface::deriveUsernameFromLdapResponse()
- Server::deriveUsernameFromLdapResponse in ldap_servers/
src/ Entity/ Server.php - Returns the username from the LDAP entry.
File
- ldap_servers/
src/ ServerInterface.php, line 41
Class
- ServerInterface
- Server configuration entity interface.
Namespace
Drupal\ldap_serversCode
public function deriveUsernameFromLdapResponse(Entry $ldap_entry) : string;