File_SMBPasswd::addAccount() (Previous) (Next) File_SMBPasswd::addMachine()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_SMBPasswd::addUser()

File_SMBPasswd::addUser() -- add a new user with the given plaintext-password.

Описание

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

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

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

Заметка

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

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

File_SMBPasswd::addAccount() (Previous) (Next) File_SMBPasswd::addMachine()

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.