JMediawikiUsers::assignGroup
Method to assign a user to a group.
Signature
public function assignGroup(string
$username,
[array
$add = null,
[array
$remove = null,
[string
$reason = null]]] )
Parameters
-
$username
- User name.
-
$add
- Add the user to these groups.
-
$remove
- Remove the user from these groups.
-
$reason
- Reason for the change.