Clients command options.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)
Syntax
C# |
---|
public ClientsCmdOptions( ClientsCmdFlags flags, string userName, string nameFilter, int maxItems, string stream ) |
Visual Basic |
---|
Public Sub New ( _ flags As ClientsCmdFlags, _ userName As String, _ nameFilter As String, _ maxItems As Integer, _ stream As String _ ) |
Visual C++ |
---|
public: ClientsCmdOptions( ClientsCmdFlags flags, String^ userName, String^ nameFilter, int maxItems, String^ stream ) |
Parameters
- flags
- Type: Perforce.P4..::..ClientsCmdFlags
- userName
- Type: System..::..String
- nameFilter
- Type: System..::..String
- maxItems
- Type: System..::..Int32
- stream
- Type: System..::..String
Return Value
Remarks
p4 help clients
clients -- Display list of clients
workspaces -- synonym for 'clients'
p4 clients [-t] [-u user] [[-e|-E] nameFilter -m max] [-S stream]
Lists all client workspaces currently defined in the server.
The -t flag displays the time as well as the date.
The -u user flag lists client workspaces that are owned by the
specified user.
The -e nameFilter flag lists workspaces with a name that matches
the nameFilter pattern, for example: -e 'svr-dev-rel*'. -E makes
the matching case-insensitive.
The -m max flag limits output to the specified number of workspaces.
The -S stream flag limits output to the client workspaces dedicated
to the stream.