API15

JUserHelper

From Joomla! Documentation

The "API15" 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.

Defined in[edit]

libraries/joomla/user/helper.php

Methods[edit]

Method name Description
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

Importing[edit]

jimport( 'joomla.user.helper' );



Examples[edit]

Code Examples[edit]