p4 users displays a list of all the users known to the current Perforce server. For each user, the information displayed includes their Perforce user name, their email address, their real name, and the date and time the user last accessed the server.
If a user argument is provided, only information pertaining to that user is displayed. The
user argument can contain the
* wildcard; in this case, all users matching the given pattern are reported on. (If you use a wildcard, be sure to quote the user argument, because the OS will likely attempt to expand the wildcard to match file names in the current directory).
Use the -m max option to limit the output to the first
max users.