[This is preliminary documentation and is subject to change.]

Options for GetOpenedFiles

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

Syntax

C#
public GetOpenedFilesOptions(
	GetOpenedFilesCmdFlags flags,
	string changelist,
	string client,
	string user,
	int maxItems
)
Visual Basic
Public Sub New ( _
	flags As GetOpenedFilesCmdFlags, _
	changelist As String, _
	client As String, _
	user As String, _
	maxItems As Integer _
)
Visual C++
public:
GetOpenedFilesOptions(
	GetOpenedFilesCmdFlags flags, 
	String^ changelist, 
	String^ client, 
	String^ user, 
	int maxItems
)

Remarks


p4 help opened

opened -- List open files and display file status

p4 opened [-a -c changelist# -C client -u user -m max] [file ...]

Lists files currently opened in pending changelists, or, for
specified files, show whether they are currently opened or locked.
If the file specification is omitted, all files open in the current
client workspace are listed.

The -a flag lists opened files in all clients. By default, only
files opened by the current client are listed.

The -c changelist# flag lists files opened in the specified
changelist#.

The -C client flag lists files open in the specified client workspace.

The -u user flag lists files opened by the specified user.

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

See Also