File_SMBPasswd::modAccount()

File_SMBPasswd::modAccount()

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

Description

This method works in the same way as File_SMBPasswd::modAccountEncrypted() , except the password has to be given as plaintext. The encryption is done internaly.

Parameter

  • string $user - username to be modified

  • int $userid - userid of the user

  • string $pass - plaintext-password

  • string $comment - comment

  • string $flags - flags

Return value

mixed - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.