Logout of the Perforce server
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)
Syntax
C# |
---|
public bool Logout( Options options ) |
Visual Basic |
---|
Public Function Logout ( _ options As Options _ ) As Boolean |
Visual C++ |
---|
public: bool Logout( Options^ options ) |
Parameters
- options
- Type: Perforce.P4..::..Options
Logout options (see remarks in help file)
Return Value
Success/Failure
Remarks
p4 help logout
logout -- Log out from Perforce by removing or invalidating a ticket.
p4 logout [-a]
The logout command removes the ticket on the client. To resume using
Perforce, the user must log in again.
The -a flag invalidates the ticket on the server, which will log out
all users of the ticket.