File_SMBPasswd::modUser()

File_SMBPasswd::modUser() -- modify an exsting account with the given plaintext-password.

Synopsis

mixed File_SMBPasswd::modUser (string $user, int $userid [, string $pass = '' [, string $comment = '' [, string $flags = '']]])

Description

This method modifies an existing user, using a plaintext-password.

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 system password file.

See

File_SMBPasswd::addAccount()
File_SMBPasswd::modAccountEncrypted()
File_SMBPasswd::modAccount()

Example