Run a logout 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 Logout( StringList options, string user ) |
Visual Basic |
---|
Public Function Logout ( _ options As StringList, _ user As String _ ) As Boolean |
Visual C++ |
---|
public: bool Logout( StringList^ options, String^ user ) |
Parameters
- options
- Type: Perforce.P4..::..StringList
The -a flag invalidates the ticket on the server.
- user
- Type: System..::..String
The user to log out (requires super access)
Return Value
Success/Failure
Remarks
If the server requires a login (security level >= 3), this will
logout the user and remove the local ticket.