Click or drag to resize

P4ServerLogin Method

Run a login command on the server

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public bool Login(
	string password,
	StringList options
)

Parameters

password
Type: SystemString
User's password
options
Type: Perforce.P4StringList
options/flags

Return Value

Type: Boolean
Success/Failure
Remarks
If the server requires a login (security level >= 3), this will prompt for the password. If login is not required, the command will just return with a result saying that login is not required.
See Also