JAccess::getGroupsByUser
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JAccess::getGroupsByUser[edit]
Description[edit]
Method to return a list of user groups mapped to a user.
public static function getGroupsByUser (
$userId
$recursive=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$userId | |||
$recursive | true |
- Returns
- Defined on line 205 of libraries/joomla/access/access.php
- Referenced by
See also[edit]
- JAccess::getGroupsByUser source code on BitBucket
- Class JAccess
- Subpackage Access
- Other versions of JAccess::getGroupsByUser
User contributed notes[edit]
Code Examples[edit]