p4 users
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
Helix Core Server.
For each user, the output includes the
Helix Core Server
user name, their email address, their real name, and the date the user last accessed the service. For example, Maria <[email protected]> (Maria Gonzales) accessed 2023/11/22
Before you delete users based on their last access time, check the access time directly on the edge and replica servers, in addition to checking the access time on the master or commit server.
If a user
argument is provided, only information
pertaining to that user is displayed. The user
argument can contain the *
wildcard. All users
matching the wildcard pattern are reported on. If you use a wildcard, put the user argument in quotation marks because the operating system might 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 the 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 Helix Core Server superuser to use this option. |
|
List only the first |
|
On replica servers, only users who have used this replica server
are reported. Returns |
|
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.
Related commands
To add or edit information about a particular user |
|
To edit information about the current client workspace |