Function __global->cns_group_ldapcn_to_ldapgid
Definitions
sources/cns_ldap.php
- Find the LDAP ID for a named LDAP usergroup. 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 |
|---|---|---|---|---|---|---|---|
| $cn | string | No | No | required parameter | N/A | N/A | The named LDAP usergroup |
Returns
- The LDAP usergroup ID (null: none)
- Type: ?integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the LDAP ID for a named LDAP usergroup. POSIX Only.
*
* @param string $cn The named LDAP usergroup
* @return ?integer The LDAP usergroup ID (null: none)
*/
function cns_group_ldapcn_to_ldapgid(string $cn) : ?int
* Find the LDAP ID for a named LDAP usergroup. POSIX Only.
*
* @param string $cn The named LDAP usergroup
* @return ?integer The LDAP usergroup ID (null: none)
*/
function cns_group_ldapcn_to_ldapgid(string $cn) : ?int

