Actions

API17

Difference between revisions of "JUserHelper"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (User contributed notes: bad link repair)
Line 76: Line 76:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JUserHelper]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JUserHelper]]</noinclude>

Revision as of 14:06, 29 August 2012

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.

Joomla 11.1 JUserHelper

Description

Description:JUserHelper [Edit Descripton]

Methods

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

jimport( 'joomla.user.helper' );

See also

SeeAlso:JUserHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />