Actions

API17

Difference between revisions of "JUserHelper"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/user/helper.php
 
libraries/joomla/user/helper.php
 +
* see source code in [[jplatform:user/helper.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage User/11.1|User]]
 
[[Subpackage User/11.1|User]]
Line 50: Line 51:
 
<source lang="php">jimport( 'joomla.user.helper' );</source>
 
<source lang="php">jimport( 'joomla.user.helper' );</source>
 
===See also===
 
===See also===
 +
* JUserHelper source code in [[jplatform:user/helper.php|BitBucket]]
 
* [[JUserHelper|Other versions of this class]]
 
* [[JUserHelper|Other versions of this class]]
 
{{SeeAlso:JUserHelper}}
 
{{SeeAlso:JUserHelper}}

Revision as of 17:03, 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.

[Edit Descripton] Description:JUserHelper

Defined in

libraries/joomla/user/helper.php

Subpackage

User

Extends

Extended by

Methods

Method name Description
getProfile Gets the user profile information.
activateUser Method to activate a user.
addUserToGroup Method to add a user to a group.
genRandomPassword Generate a random password.
getCryptedPassword Formats a password using the current encryption.
getSalt Returns a salt for the appropriate kind of password encryption.
getUserGroups Method to get a list of groups a user is in.
getUserId Returns userid if a user exists.
removeUserFromGroup Method to remove a user from a group.
setUserGroups Method to set the groups for a user.

Importing

jimport( 'joomla.user.helper' );

See also

SeeAlso:JUserHelper [Edit See Also]

Examples

<CodeExamplesForm />