Function __global->cns_group_ldapgid_to_cnsid
Definitions
sources/cns_ldap.php
- Find the site ID for an LDAP usergroup-ID. POSIX Only.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $gid | integer | No | No | required parameter | N/A | N/A | The LDAP ID |
Returns
- The site ID (null: could not find)
- Type: ?GROUP
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the site ID for an LDAP usergroup-ID. POSIX Only.
*
* @param integer $gid The LDAP ID
* @return ?GROUP The site ID (null: could not find)
*/
function cns_group_ldapgid_to_cnsid(int $gid) : ?int
* Find the site ID for an LDAP usergroup-ID. POSIX Only.
*
* @param integer $gid The LDAP ID
* @return ?GROUP The site ID (null: could not find)
*/
function cns_group_ldapgid_to_cnsid(int $gid) : ?int

