Actions

API17

JUserHelper::getUserGroups

From Joomla! Documentation

Revision as of 19:33, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Description

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

Description:JUserHelper::getUserGroups [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JUserHelper::getUserGroups ($userId)
Parameter Type Default Description
$userId integer The id of the user.

Returns

mixed Array on success, on error.

Defined in

libraries/joomla/user/helper.php

Referenced by

See also

[Edit See Also]

SeeAlso:JUserHelper::getUserGroups

Examples

<CodeExamplesForm />