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