File_Passwd_Custom::changePasswd()

File_Passwd_Custom::changePasswd() -- Change password

Referentiesamenvatting

mixed File_Passwd_Custom::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_NOTuser doesn't exist
FILE_PASSWD_INVALID_ENC_MODEactual encryption mode is not supported

Note

Deze functie kan niet statisch worden aangeroepen.