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.
Template:Description:JAccess::getGroupsByUser [Edit Descripton]
Synopsis[edit]
public static JAccess::getGroupsByUser ($userId, $recursive=true)
Parameter | Type | Default | Description |
---|---|---|---|
$userId | |||
$recursive | true |
Returns[edit]
Defined in[edit]
libraries/joomla/access/access.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JAccess::getGroupsByUser
Examples[edit]
<CodeExamplesForm />