Use the C++ API to find an existing ticket if a file will be ignored

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

Syntax

C#
public static string GetTicket(
	string port,
	string user
)
Visual Basic
Public Shared Function GetTicket ( _
	port As String, _
	user As String _
) As String
Visual C++
public:
static String^ GetTicket(
	String^ port, 
	String^ user
)

Parameters

port
Type: System..::..String
server:port for the connection
user
Type: System..::..String
user name for the connection

Return Value

The existing ticket if any

See Also