JUserHelper::addUserToGroup
Method to add a user to a group.
Signature
public function addUserToGroup(integer
$userId,
integer
$groupIdĀ )
Parameters
-
$userId
- The id of the user.
-
$groupId
- The id of the group.
Returns
- boolean
- True on success