Click or drag to resize

ConnectionLogin Method (String, Boolean)

Runs the login process. If the server is using ticket based authentication, actually runs the logon three times. Once to login and update the ticket file, once to get the ticket from the server and finally once to get the ticket expiration data.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.255.3501
Syntax
public Credential Login(
	string password,
	bool allHostTicket
)

Parameters

password
Type: SystemString
User password
allHostTicket
Type: SystemBoolean
true if the login is intended for all hosts

Return Value

Type: Credential
Success/Failure
See Also