From Joomla! Documentation

Revision as of 17:36, 22 March 2010 by Doxiki (Talk | contribs)

Replacement filing cabinet.png

[Edit Descripton] Description:JUserHelper

Defined in



Method name Description
addUserToGroup Method to add a user to a group.
removeUserFromGroup Method to remove a user from a group.
setUserGroups Method to set the groups for a user.
activateUser Method to activate a user
getUserId Returns userid if a user exists
getCryptedPassword Formats a password using the current encryption.
getSalt Returns a salt for the appropriate kind of password encryption. Optionally takes a seed and a plaintext password, to extract the seed of an existing password, or for encryption types that use the plaintext in the generation of the salt.
genRandomPassword Generate a random password
getProfile Gets the user profile information


jimport( 'joomla.user.helper' );

[Edit See Also] SeeAlso:JUserHelper


<CodeExamplesForm />