API17:JUserHelper
From Joomla! Documentation
[Edit Descripton] Template:Description:JUserHelper
Defined in
libraries/joomla/user/helper.php
Subpackage
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 />