previousAuth::attachLogObserver() (Previous) (Next) Auth::checkAuth()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Auth::changePassword()

Auth::changePassword() – change the password of a user

Synopsis

mixed Auth::changePassword ( string $username , string $password )

Description

Change the password of a user within the Auth Container.

Parameter

string $username

the username of the user

string $password

the new password for the user

Return value

mixed - TRUE on success, a PEAR Error on failure.

Note

This function can not be called statically.

Not all Auth Containers implement this functionality.

previousAuth::attachLogObserver() (Previous) (Next) Auth::checkAuth()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.