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

Last updated: Sun, 16 May 2004

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: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ