mixed File_Passwd_Smb::modUser (
string $user
, array $params
)
Modify a certain user.
You shouldn't modify the password with this method, use File_Passwd_Smb::changePasswd() instead.
$user
the user to modify
$params
an associative array of properties to change
Returns TRUE on success, PEAR_Error on failure.
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_NOT | account doesn't exist |
FILE_PASSWD_E_INVALID_PROPERTY | any supplied property was invalid |
This function can not be called statically.