API17

Difference between revisions of "JUserHelper::addUserToGroup"

From Joomla! Documentation

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

Revision as of 20:31, 23 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::addUserToGroup[edit]

Description[edit]

Method to add a user to a group.

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

Since[edit]

Joomla 11.1

Synopsis[edit]

public static JUserHelper::addUserToGroup ($userId, $groupId)
Parameter Type Default Description
$userId integer The id of the user.
$groupId integer The id of the group.

Returns[edit]

mixed Boolean true on success, on error.

Defined in[edit]

libraries/joomla/user/helper.php (line 34)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JUserHelper::addUserToGroup

Examples[edit]

<CodeExamplesForm />