Perforce 2008.1 Command Reference
<< Previous Chapter
p4 login
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 monitor

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

-a

Log out all users of the ticket by invalidating the ticket on the server.

g-opts

See the Global Options section.

Usage Notes

Can File Arguments Use
Revision Specifier?

Can File Arguments Use
Revision Range?

Minimal Access Level Required

No

No

list

Examples

p4 logout

Log out of Perforce by removing the local session ticket.

p4 logout -a

Log out of Perforce by invalidating the ticket, instructing the Perforce server to log this user out from any and all workstations from which they were logged in.

Related Commands

To start a login session (to obtain a ticket)

p4 login

To display tickets

p4 tickets


Perforce 2008.1 Command Reference
<< Previous Chapter
p4 login
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 monitor
Please send comments and questions about this manual to [email protected].
Copyright 1999-2008 Perforce Software. All rights reserved.
Last updated: 07/08/08