File_Passwd_Common::listUser()
File_Passwd_Common::listUser() -- List user
Synopsis
mixed File_Passwd_Common::listUser ([string $user = ''])
Description
List one user's properties or all users.
Parameter
- string
$user
the user to list or all users if empty
Return value
Returns array of user(s) or PEAR_Error on failure.
Table 43-1. Possible PEAR_Error values
| Error Code | Summary |
|---|
| FILE_PASSWD_E_NOT_EXISTS | suer doesn't exist |
Note
This function can not be called
statically.