API17

JUserHelper::getUserGroups

From Joomla! Documentation

Revision as of 19:33, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Joomla 11.1 JUserHelper::getUserGroups[edit]

Description[edit]

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

Template:Description:JUserHelper::getUserGroups [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

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

Returns[edit]

mixed Array on success, on error.

Defined in[edit]

libraries/joomla/user/helper.php

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JUserHelper::getUserGroups

Examples[edit]

<CodeExamplesForm />