API17

API17:JAccess::getGroupsByUser

From Joomla! Documentation

Joomla 11.1 JAccess::getGroupsByUser

Description

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

See also


User contributed notes

Code Examples