API17

API17:JUserHelper

From Joomla! Documentation

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

[Edit Descripton] Template: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

Template:SeeAlso:JUserHelper [Edit See Also]

Examples

<CodeExamplesForm />