Difference between revisions of "JUserHelper::getUserGroups"

From Joomla! Documentation

m (JoomlaWikiBot moved page JUserHelper::getUserGroups/11.1 to API17:JUserHelper::getUserGroups without leaving a redirect: Robot: Moved page)
m (User contributed notes: moving preparation)
Line 47: Line 47:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 17:30, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JUserHelper::getUserGroups


Method to get a list of groups a user is in.

Description:JUserHelper::getUserGroups [Edit Descripton]

public static function getUserGroups ($userId)
Parameter Type Default Description
$userId integer The id of the user.
  • Returns mixed Array on success, on error.
  • Defined on line 91 of libraries/joomla/user/helper.php
  • Since Joomla 11.1

See also

SeeAlso:JUserHelper::getUserGroups [Edit See Also]

User contributed notes

<CodeExamplesForm />