[This is preliminary documentation and is subject to change.]
Logout of the Perforce server
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)
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.