JUserHelper
From Joomla! Documentation
Revision as of 21:51, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JUserHelper/11.1 to API17:JUserHelper without leaving a redirect: Robot: Moved page)
Revision as of 21:51, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JUserHelper/11.1 to API17:JUserHelper without leaving a redirect: Robot: Moved page)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
JUserHelper[edit]
Description[edit]
Template:Description:JUserHelper [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | getProfile | Gets the user profile information. |
public static | activateUser | Method to activate a user. |
public static | addUserToGroup | Method to add a user to a group. |
public static | genRandomPassword | Generate a random password. |
public static | getCryptedPassword | Formats a password using the current encryption. |
public static | getSalt | Returns a salt for the appropriate kind of password encryption. |
public static | getUserGroups | Method to get a list of groups a user is in. |
public static | getUserId | Returns userid if a user exists. |
public static | removeUserFromGroup | Method to remove a user from a group. |
public static | setUserGroups | Method to set the groups for a user. |
- Defined in libraries/joomla/user/helper.php
Importing[edit]
jimport( 'joomla.user.helper' );
See also[edit]
- JUserHelper source code on BitBucket
- Subpackage User
- Other versions of JUserHelper
Template:SeeAlso:JUserHelper [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />