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 37-1. Possible PEAR_Error values

Error CodeSummary
FILE_PASSWD_E_NOT_EXISTSsuer doesn't exist

Note

This function can not be called statically.