Run a logout command on the server

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)

Syntax

C#
public bool Logout(
	StringList options
)
Visual Basic
Public Function Logout ( _
	options As StringList _
) As Boolean
Visual C++
public:
bool Logout(
	StringList^ options
)

Parameters

options
Type: Perforce.P4..::..StringList
The -a flag invalidates the ticket on the server.

Return Value

Success/Failure

Remarks

If the server requires a login (security level >= 3), this will logout the user and remove the local ticket.

See Also