Formatting MARC data | |
PEAR Manual | |
mixed File_Passwd_Cvs::addUser (
string $user
, string $pass
, string $system_user = ''
)
The username must start with an alphabetical character and must NOT contain any other characters than alphanumerics, the underline and dash.
the name of the user to add
the password of the user tot add
the systemuser this user maps to
Returns TRUE on success, PEAR_Error on failure.
Error Code | Summary |
FILE_PASSWD_E_EXISTS_ALREADY | user already exists |
FILE_PASSWD_E_INVALID_CHARS | user or system_user contain illegal characters |
This function can not be called statically.
Formatting MARC data | |
PEAR Manual | |