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: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public static Credential GetTicketFileCredential(
	string port,
	string user
)
Visual Basic
Public Shared Function GetTicketFileCredential ( _
	port As String, _
	user As String _
) As Credential
Visual C++
public:
static Credential^ GetTicketFileCredential(
	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