File_Passwd_Custom::changePasswd()

File_Passwd_Custom::changePasswd() -- Change password

Synopsis

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

Beschreibung

Change the password of a certain user.

Parameter

string $user

the user whose password should be changed

string $pass

the new plaintext password

Rückgabewert

Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Tabelle 38-1. Mögliche Fehler-Arten

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTuser doesn't exist
FILE_PASSWD_INVALID_ENC_MODEactual encryption mode is not supported

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.