Click or drag to resize

P4ServerLogout Method

Run a logout command on the server

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public bool Logout(
	StringList options,
	string user = null
)

Parameters

options
Type: Perforce.P4StringList
The -a flag invalidates the ticket on the server.
user (Optional)
Type: SystemString
The user to log out (requires super access)

Return Value

Type: Boolean
Success/Failure
Remarks
If the server requires a login (security level >= 3), this will logout the user and remove the local ticket.
See Also