File_Passwd_Custom::modUser()
Описание
You shouldn't modify the password of the user with this method, use File_Passwd_Custom::changePasswd() instead.
You should use this method only if the 'name map' is used, too.
Параметр
- string $user
the user to modify
- array $properties
an associative array of properties to modify
Возвращаемое значение
Возвращает TRUE при удаче и PEAR_Error в обратном случае.
Таблица 39-1. Возможные значения PEAR_Error
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_NOT | user doesn't exists |
FILE_PASSWD_E_INVALID_CHARS | any of the extra properties contains the delimiter |
Пред. | Начало | След. |
File_Passwd_Custom::addUser() | Уровень выше | File_Passwd_Custom::changePasswd() |