Function Module_groups->add_to
Definitions
site/pages/modules/groups.php
- The actualiser to add a member to a usergroup.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$special_permission | boolean | False | N/A | N/A | Whether to skip checking permission for usergroup control |
$username | ?string | Null | N/A | N/A | Username to add (null: read from environment) |
Return
- The UI
- Type: Tempcode
- Set: N/A
- Range: N/A