p4 users


Print a list of all known users of the current Perforce service.


p4 [g-opts] users [-l -a -r -c] [-m max] [user …]


p4 users displays a list of all the users known to the current Perforce service. 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 service.

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.



Include service users in list.


On replica servers, only user information from the master server are reported.


Login information: includes time of last password change and login ticket expiry, if applicable. You must be a Perforce superuser to use this option.

-m max

List only the first max users.


On replica servers, only users who have used this replica server are reported.


See “Global Options”.

Usage Notes

Can File Arguments Use Revision Specifier?

Can File Arguments Use Revision Range?

Minimal Access Level Required




  • You must be connected to a replica to use -c or -r, and the -c and -r options are mutually exclusive.

  • If the run.users.authorize configurable has been set to 1, users must authenticate themselves to the Perforce service before running the p4 users command.

Related Commands

To add or edit information about a particular user

p4 user

To edit information about the current client workspace

p4 client