File_Passwd_Cvs::changeSysUser()

File_Passwd_Cvs::changeSysUser() -- Change syste user

Synopsis

mixed File_Passwd_Cvs::changeSysUser (mixed $user, mixed $system)

Description

Change the corresponding system user of a certain cvs user.

Parameter

string $user

the user to change the system user for

string $system

the new system user name

Return value

Returns TRUE on success, PEAR_Error on failure.

Table 37-1. Possible PEAR_Error values

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTuser doesn't exist
FILE_PASSWD_E_INVALID_CHARSsystem user contains illegal characters

Note

This function can not be called statically.