File_Passwd_Smb::modUser()

File_Passwd_Smb::modUser() -- Modify a user

Referentiesamenvatting

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

Beschrijving

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

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

Note

Deze functie kan niet statisch worden aangeroepen.