Run a login command on the server
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax public bool Login(
string password,
StringList options
)
Public Function Login (
password As String,
options As StringList
) As Boolean
public:
bool Login(
String^ password,
StringList^ options
)
member Login :
password : string *
options : StringList -> bool
Parameters
- password
- Type: SystemString
User's password - options
- Type: Perforce.P4StringList
options/flags
Return Value
Type:
BooleanSuccess/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