p4 users
Synopsis
Print a list of all known users of the current Perforce service.
Syntax
p4 [g-opts
] users [-l -a -r -c]
[-m max
] [user
...]
Description
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.
Options
|
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. |
|
List only the first |
|
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 |
---|---|---|
N/A |
N/A |
|
- 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 thep4 users
command.