File_Passwd::modUser()

File_Passwd::modUser() -- modify an user

Synopsis

require_once 'File/Passwd.php';

boolean File_Passwd::modUser ([string $user string $pass string $cvsuser = ""])

Description

Modifies a user entry in the file.

Parameter

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Throws

Table 24-1. Possible PEAR_Error values

Error codeError messageReasonSolution
3 " Couldn't modify user user, because the user doesn't exists! " The user entry could not written to the temporary file, he does not exists in this file. Check typing of the $user or you maybe looking for File_Passwd::addUser()

Note

This function can not be called statically