previousFile_Passwd_Custom::addUser (Previous) (Next) File_Passwd_Custom::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_Custom::modUser

File_Passwd_Custom::modUser() – Modify user

Synopsis

mixed File_Passwd_Custom::modUser ( string $user , array $properties = array() )

Description

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

You should use this method only if the 'name map' is used, too.

Parameter

string $user

the user to modify

array $properties

an associative array of properties to modify

Return value

Returns TRUE on success, PEAR_Error on failure.

Possible PEAR_Error values
Error Code Summary
FILE_PASSWD_E_EXISTS_NOT user doesn't exists
FILE_PASSWD_E_INVALID_CHARS any of the extra properties contains the delimiter

Note

This function can not be called statically.

previousFile_Passwd_Custom::addUser (Previous) (Next) File_Passwd_Custom::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.