Formatting MARC data | |
PEAR Manual | |
mixed File_Passwd_Smb::addUser (
string $user
, string $pass
, array $params
, boolean $isMachine = false
)
Add an SMB user/machine account.
the user/machine to add
the new plaintext password
additional properties of account:
userid
flags
lct
comment
whether to add an machine account
Returns TRUE on success, PEAR_Error on failure.
Error Code | Summary |
FILE_PASSWD_E_EXISTS_ALREADY | account already exists |
FILE_PASSWD_E_INVALID_CHARS | user/machine name contains illegal characters |
This function can not be called statically.
Formatting MARC data | |
PEAR Manual | |