Run a login command on the server
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)
Syntax
C# |
---|
public bool Login( string password, StringList options ) |
Visual Basic |
---|
Public Function Login ( _ password As String, _ options As StringList _ ) As Boolean |
Visual C++ |
---|
public: bool Login( String^ password, StringList^ options ) |
Parameters
- password
- Type: System..::..String
User's password
- options
- Type: Perforce.P4..::..StringList
options/flags
Return Value
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.