Function __global->cns_is_on_ldap
Definitions
sources/cns_ldap.php
- Find whether a member exists on the LDAP server.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $cn | SHORT_TEXT | No | No | required parameter | N/A | N/A | The username |
Returns
- The answer
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether a member exists on the LDAP server.
*
* @param SHORT_TEXT $cn The username
* @return boolean The answer
*/
function cns_is_on_ldap(string $cn) : bool
* Find whether a member exists on the LDAP server.
*
* @param SHORT_TEXT $cn The username
* @return boolean The answer
*/
function cns_is_on_ldap(string $cn) : bool
