previousFile_Passwd_Smb::addUser (Previous) (Next) File_Passwd_Smb::changePasswdnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_Passwd_Smb::modUser

File_Passwd_Smb::modUser() – Modify a user

Synopsis

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

Description

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 value

Returns TRUE on success, PEAR_Error on failure.

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.

previousFile_Passwd_Smb::addUser (Previous) (Next) File_Passwd_Smb::changePasswdnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.