File_Passwd_Smb::modUser()
File_Passwd_Smb::modUser() -- Modify a user
Synopsis
mixed File_Passwd_Smb::modUser (string $user, array $params)
Parameter
- string
$user
the user to modify
- array
$params
an associative array of properties to change
Return value
Returns TRUE on success,
PEAR_Error on failure.
Table 43-1. Possible PEAR_Error values
| Error Code | Summary |
|---|
| FILE_PASSWD_E_EXISTS_NOT | account doesn't exist |
| FILE_PASSWD_E_INVALID_PROPERTY | any supplied property was invalid |
Note
This function can not be called
statically.