Function __global->cns_is_ldap_member_potential

Definitions

sources/cns_ldap.php

  • Find whether a member of a certain username WOULD be bound to LDAP authentication (an exceptional situation, only for sites that use it).
  • 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 string 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 of a certain username WOULD be bound to LDAP authentication (an exceptional situation, only for sites that use it).
 *
 * @param  string $cn The username
 * @return boolean The answer
 */

function cns_is_ldap_member_potential(string $cn) : bool