File_Passwd_Authbasic::changePasswd()

File_Passwd_Authbasic::changePasswd() -- Change password

Referentiesamenvatting

mixed File_Passwd_Authbasic::changePasswd (string $user, string $pass)

Beschrijving

Change the password of a certain user.

Parameter

string $user

the user whose password should be changed

string $pass

the new plaintext password

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Tabel 38-1. Mogelijke PEAR_Error waarden

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTthe user to delete doesn't exist

Note

Deze functie kan niet statisch worden aangeroepen.