File_Passwd_Cvs::changeSysUser()

File_Passwd_Cvs::changeSysUser() -- Change syste user

Synopsis

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

Opis

Change the corresponding system user of a certain cvs user.

Parametr

string $user

the user to change the system user for

string $system

the new system user name

Zwracana wartość

Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.

Tabela 39-1. Możliwe wartości PEAR_Error

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

Uwagi

Ta funkcja nie może być wywołana statycznie.