API17:JAccess::getGroupsByUser
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.
JAccess::getGroupsByUser
Description
Method to return a list of user groups mapped to a user.
Description:JAccess::getGroupsByUser [Edit Descripton]
Synopsis
public static JAccess::getGroupsByUser ($userId, $recursive=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $userId | |||
| $recursive | true |
Returns
Defined in
libraries/joomla/access/access.php
Referenced by
See also
SeeAlso:JAccess::getGroupsByUser
Examples
<CodeExamplesForm />
