File_SMBPasswd::addMachine()

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

Synopsis

mixed File_SMBPasswd::addMachine (string $machine, int $userid [, string $comment = ''])

Описание

This method works in the same way as File_SMBPasswd::addAccount() , except the flags are forced representing a machine-account, a $ is implicitely added to the machinename.

Параметр

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

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

Заметка

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

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

См. также

File_SMBPasswd::addAccount()
File_SMBPasswd::addUser()
File_SMBPasswd::addAccountEncrypted()

Пример


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