Function __global->cns_get_group_members_raw_ldap
Definitions
sources/cns_ldap.php
- (LDAP helper for cns_get_group_members_raw) Get a list of members in a group (or more full details if $non_validated is true).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| &$members | array | Yes | No | required parameter | N/A | N/A | The list is written into this |
| $group_id | GROUP | No | No | required parameter | N/A | N/A | The ID of the usergroup |
| $include_primaries | boolean | No | No | required parameter | N/A | N/A | Whether to include those in the usergroup as a primary member |
| $non_validated | boolean | No | No | required parameter | N/A | N/A | Whether to include those applied to join the usergroup, but not validated in |
| $include_secondaries | boolean | No | No | required parameter | N/A | N/A | Whether to include those in the usergroup as a secondary member |
Preview
Code (PHP)
/**
* (LDAP helper for cns_get_group_members_raw) Get a list of members in a group (or more full details if $non_validated is true).
*
* @param array $members The list is written into this
* @param GROUP $group_id The ID of the usergroup
* @param boolean $include_primaries Whether to include those in the usergroup as a primary member
* @param boolean $non_validated Whether to include those applied to join the usergroup, but not validated in
* @param boolean $include_secondaries Whether to include those in the usergroup as a secondary member
*/
function cns_get_group_members_raw_ldap(array &$members, int $group_id, bool $include_primaries, bool $non_validated, bool $include_secondaries)
* (LDAP helper for cns_get_group_members_raw) Get a list of members in a group (or more full details if $non_validated is true).
*
* @param array $members The list is written into this
* @param GROUP $group_id The ID of the usergroup
* @param boolean $include_primaries Whether to include those in the usergroup as a primary member
* @param boolean $non_validated Whether to include those applied to join the usergroup, but not validated in
* @param boolean $include_secondaries Whether to include those in the usergroup as a secondary member
*/
function cns_get_group_members_raw_ldap(array &$members, int $group_id, bool $include_primaries, bool $non_validated, bool $include_secondaries)
