Function __global->cns_ldap_get_member_primary_group

Definitions

sources/cns_ldap.php

  • Get the primary usergroup of a member in LDAP.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id MEMBER No No required parameter N/A N/A The member

Returns

  • The
  • Type: GROUP
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the primary usergroup of a member in LDAP.
 *
 * @param  MEMBER $member_id The member
 * @return GROUP The
 */

function cns_ldap_get_member_primary_group(int $member_id) : int