File_SMBPasswd::addMachine()
Описание
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.
Параметр
string $machine - machinename to be added
int $userid - userid of the user
string $comment - comment
Заметка
Эта функция не должна вызываться статически.
Note that the machine to be added must already exist in the system password file.
См. также
File_SMBPasswd::addAccount() |
File_SMBPasswd::addUser() |
File_SMBPasswd::addAccountEncrypted() |
Пример
Пример 40-1. Using File_SMBPasswd::addMachine()
|
Пред. | Начало | След. |
File_SMBPasswd::addUser() | Уровень выше | File_SMBPasswd::modAccountEncrypted() |