Function __global->cns_ldap_guess_email
Definitions
sources/cns_ldap.php
- Get the e-mail of a member in LDAP.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $cn | ID_TEXT | No | No | required parameter | N/A | N/A | The CN of the member |
Returns
- Guessed e-mail address (blank: couldn't find)
- Type: SHORT_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the e-mail of a member in LDAP.
*
* @param ID_TEXT $cn The CN of the member
* @return SHORT_TEXT Guessed e-mail address (blank: couldn't find)
*/
function cns_ldap_guess_email(string $cn) : string
* Get the e-mail of a member in LDAP.
*
* @param ID_TEXT $cn The CN of the member
* @return SHORT_TEXT Guessed e-mail address (blank: couldn't find)
*/
function cns_ldap_guess_email(string $cn) : string
