Auth::addUser()

Auth::addUser() -- add a new user

Synopsis

Описание

Add a new user to the Auth Container.

Параметр

string $username

the username of the new user

string $password

the password of the new user

mixed $additional = ''

additional options to be passed to the creation of the new user. Each Auth_Container has different options for these, please see the containers documentation for what is supported.

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

mixed - TRUE on success, a PEAR Error on failure.

Заметка

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

Not all Auth Containers implement this functionality.

    Поддержать сайт на родительском проекте КГБ