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.
See the Global Options section.
Can File Arguments Use
Revision Specifier? Can File Arguments Use
Revision Range? Minimal Access Level Required
• 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.
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.