File_Passwd_Smb::modUser()

File_Passwd_Smb::modUser() -- Modify a user

Synopsis

mixed File_Passwd_Smb::modUser (string $user, array $params)

Beschreibung

Modify a certain user.

You shouldn't modify the password with this method, use File_Passwd_Smb::changePasswd() instead.

Parameter

string $user

the user to modify

array $params

an associative array of properties to change

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_NOTaccount doesn't exist
FILE_PASSWD_E_INVALID_PROPERTYany supplied property was invalid

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.