File_SMBPasswd::addUser()
Описание
This method works in the same way as File_SMBPasswd::addAccount() , except the flags are forced representing a user-account.
Параметр
string $user - username to be added
int $userid - userid of the user
string $pass - plaintext-password
string $comment - comment
Заметка
Эта функция не должна вызываться статически.
Note that the user to be added must already exist in the system password file.
См. также
File_SMBPasswd::addAccount() |
File_SMBPasswd::addMachine() |
File_SMBPasswd::addAccountEncrypted() |
Пример
Пример 40-1. Using File_SMBPasswd::addUser()
|
Пред. | Начало | След. |
File_SMBPasswd::addAccount() | Уровень выше | File_SMBPasswd::addMachine() |