ConnectionLogin Method (String)
|
Automate the Login to the Perforce Server
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax public Credential Login(
string password
)
Public Function Login (
password As String
) As Credential
public:
Credential^ Login(
String^ password
)
member Login :
password : string -> Credential
Parameters
- password
- Type: SystemString
User password
Return Value
Type:
CredentialSuccess/Failure
Remarks
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.
See Also