API17:JUserHelper::removeUserFromGroup
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JUserHelper::removeUserFromGroup
Description
Method to remove a user from a group.
Description:JUserHelper::removeUserFromGroup [Edit Descripton]
Since
Synopsis
public static JUserHelper::removeUserFromGroup ($userId, $groupId)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $userId | integer | The id of the user. | |
| $groupId | integer | The id of the group. |
Returns
mixed Boolean true on success, on error.
Defined in
libraries/joomla/user/helper.php
Referenced by
See also
SeeAlso:JUserHelper::removeUserFromGroup
Examples
<CodeExamplesForm />
