File_Passwd_Smb::modUser()

File_Passwd_Smb::modUser() -- Modify a user

Synopsis

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

Opis

Modify a certain user.

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

Parametr

string $user

the user to modify

array $params

an associative array of properties to change

Zwracana wartość

Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.

Tabela 39-1. Możliwe wartości PEAR_Error

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTaccount doesn't exist
FILE_PASSWD_E_INVALID_PROPERTYany supplied property was invalid

Uwagi

Ta funkcja nie może być wywołana statycznie.