Actions

API17

Difference between revisions of "JUserHelper::getUserGroups"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 30: Line 30:
 
mixed Array on success,  on error.
 
mixed Array on success,  on error.
 
===Defined in===
 
===Defined in===
libraries/joomla/user/helper.php
+
libraries/joomla/user/helper.php (line 90)
 +
* see source code in [[jplatform:user/helper.php#cl-90|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:31, 23 April 2011

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 (line 90)

Referenced by

See also

[Edit See Also]

SeeAlso:JUserHelper::getUserGroups

Examples

<CodeExamplesForm />