File_SMBPasswd::addAccount()

File_SMBPasswd::addAccount() -- add a new account with the given plaintext-password.

Synopsis

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

Описание

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

Параметр

Возвращаемое значение

mixed - Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Заметка

Эта функция не должна вызываться статически.

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

См. также

File_SMBPasswd::addUser()
File_SMBPasswd::addMachine()
File_SMBPasswd::addAccountEncrypted()

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ