File_Passwd_Cvs::changeSysUser
File_Passwd_Cvs::changeSysUser() – Change syste user
Synopsis
mixed File_Passwd_Cvs::changeSysUser (
mixed $user
, mixed $system
)
Описание
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.
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_NOT | user doesn't exist |
FILE_PASSWD_E_INVALID_CHARS | system user contains illegal characters |
Замечание
This function can not be called statically.