Previous Table of Contents Index Next
Perforce 2009.1: Command Reference



p4 logout
Synopsis
Log out of a Perforce server by removing or invalidating a ticket.
Syntax
p4 [g-opts] logout [ -a ]
Description
Log a user out of Perforce by removing a ticket on the user's workstation, or by invalidating the ticket on the server.
If you use p4 logout -a, the ticket remains in the ticket file, but is invalidated on the server: all users of the ticket are logged out simultaneously.
Options
Usage Notes
Can File Arguments Use
Revision Specifier?
Tickets are stored in the file specified by the P4TICKETS environment variable. If this variable is not set, tickets are stored in %USERPROFILE%\p4tickets.txt on Windows, and in $HOME/.p4tickets on other operating systems.
Examples
Log out of Perforce by removing the local session ticket and instructing the Perforce server to invalidate the ticket on all other workstations from which they were logged in.
Related Commands
 


Previous Table of Contents Index Next

Perforce 2009.1: Command Reference
Copyright 1999-2009 Perforce Software.