File_Passwd_Custom::addUser()

File_Passwd_Custom::addUser() -- Add an user

Synopsis

Описание

The username must start with an alphabetical character and must NOT contain any other characters than alphanumerics, the underline and dash.

The username MUST NOT contain the custom delimiter!

If you use the 'name map' you should also use these naming in the supplied extra array, because your values would get mixed up if they are in the wrong order, which is always true if you DON'T use the 'name map'!

So be warned and USE the 'name map'!

Параметр

string $user

the name of the user to add

string $pass

the password of the user to add

array $extra

extra properties of user to add

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

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

Заметка

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

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