Options Constructor (ClientsCmdFlags, String, String, Int32, String)
|
Clients command options.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax public Options(
ClientsCmdFlags flags,
string userName,
string nameFilter,
int maxItems,
string stream
)
Public Sub New (
flags As ClientsCmdFlags,
userName As String,
nameFilter As String,
maxItems As Integer,
stream As String
)
public:
Options(
ClientsCmdFlags flags,
String^ userName,
String^ nameFilter,
int maxItems,
String^ stream
)
new :
flags : ClientsCmdFlags *
userName : string *
nameFilter : string *
maxItems : int *
stream : string -> Options
Parameters
- flags
- Type: Perforce.P4ClientsCmdFlags
- userName
- Type: SystemString
- nameFilter
- Type: SystemString
- maxItems
- Type: SystemInt32
- stream
- Type: SystemString
Return Value
Type:
Remarks
p4 help clients
clients -- Display list of clients
workspaces -- synonym for 'clients'
p4 clients [-t] [-u user [--user-case-insensitive]] [[-e|-E] nameFilter -m max] [-S stream]
[-a | -s serverID]
p4 clients -U
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.This can include wildcards to form a search pattern.
If wildcards are used enclose the search pattern in double quotes.
You can also add a --user-case-insensitive flag which will indicate
that the user value is a case-insensitive search pattern.
The -e nameFilter flag lists workspaces with a name that matches
the nameFilter pattern, for example: -e 'svr-dev-rel*'. The -e flag
uses the server's normal case-sensitivity rules. The -E flag makes
the matching case-insensitive, even on a case-sensitive server.
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.
The -U flag lists unloaded clients (see 'p4 help unload').
The -a flag specifies that all clients should be displayed, not just
those that are bound to this server.
The -s serverID flag specifies that only those clients bound to the
specified serverID should be displayed. On an Edge Server, the -s
flag defaults to the Edge Server's serverID.
See Also