API17

Difference between revisions of "JUserHelper::getUserGroups"

From Joomla! Documentation

(Bulk upload by Doxiki2)
(No difference)

Revision as of 19:33, 20 April 2011

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 />