Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 21812 программистов и 716 роботов. Сейчас ищут 727 программистов ...

File_Passwd_Unix::modUser

Вернуться к: File_Passwd_Unix

File_Passwd_Unix::modUser

File_Passwd_Unix::modUser() – Modify user

Synopsis

mixed File_Passwd_Unix::modUser ( string $user , array $properties = array() )

You shouldn't modify the password of the user with this method, use File_Passwd_Unix::changePasswd() instead.

You should use this method only if the 'name map' is used, too.

Parameter

string $user

the user to modify

array $properties

an associative array of properties to modify

Return value

Returns TRUE on success, PEAR_Error on failure.

Possible PEAR_Error values
Error Code Summary
FILE_PASSWD_E_EXISTS_NOT user doesn't exists
FILE_PASSWD_E_INVALID_CHARS any of the extra properties contains a colon

Note

This function can not be called statically.



Вернуться к: File_Passwd_Unix

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware