Users command options.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public UsersCmdOptions(
	UsersCmdFlags flags,
	int maxItems
)
Visual Basic
Public Sub New ( _
	flags As UsersCmdFlags, _
	maxItems As Integer _
)
Visual C++
public:
UsersCmdOptions(
	UsersCmdFlags flags, 
	int maxItems
)

Parameters

flags
Type: Perforce.P4..::..UsersCmdFlags
maxItems
Type: System..::..Int32

Return Value

Remarks


p4 help users

users -- List Perforce users

p4 users [-l -a -r -c] [-m max] [user ...]

Lists all Perforce users or users that match the 'user' argument.
The report includes the last time that each user accessed the system.

The -m max flag limits output to the first 'max' number of users.

The -a flag includes service and operator users in the output.

The -l flag includes additional information in the output. The -l
flag requires 'super' access, which is granted by 'p4 protect'.

The -r and -c flags are only allowed on replica servers. When
-r is given only users who have used a replica are reported and
when -c is given only the user information from the central server
is reported. Otherwise on a replica server, the user list will
be slightly different from the master server as the user access times
will reflect replica usage or master usage whichever is newer.

See Also