File_SMBPasswd::addAccountEncrypted()

File_SMBPasswd::addAccountEncrypted() -- adds a new account with pre-encrypted passwords.

Synopsis

mixed File_SMBPasswd::addAccountEncrypted (string $user, int $userid [, string $lmhash = '' [, string $nthash = '' [, string $comment = '' [, string $flags = '[U ]']]]])

Description

Modifies an existing account. The passwords must be already encrypted.

Parameter

Return value

mixed - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

Note that the user to be added must already exist in the systems password file.

See

File_SMBPasswd::modAccountEncrypted()
File_SMBPasswd::modUser()
File_SMBPasswd::modAccount()

Example