You are here

public function Server::getMailAttribute in Lightweight Directory Access Protocol (LDAP) 8.4

Get mail.

Return value

string Value.

Overrides ServerInterface::getMailAttribute

1 call to Server::getMailAttribute()
Server::deriveEmailFromLdapResponse in ldap_servers/src/Entity/Server.php
Returns the user's email from the LDAP entry.

File

ldap_servers/src/Entity/Server.php, line 574

Class

Server
Defines the Server entity.

Namespace

Drupal\ldap_servers\Entity

Code

public function getMailAttribute() : ?string {
  return $this->mail_attr;
}