p4 tickets

Synopsis

Display all tickets granted to a user by p4 login.

Syntax

p4 [g-opts] tickets

Description

The p4 tickets command lists all tickets stored in the user’s ticket file.

Options

g-opts

See “Global Options”.

Usage Notes

Can File Arguments Use Revision Specifier? Can File Arguments Use Revision Range? Minimal Access Level Required

N/A

N/A

none

  • 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

p4 tickets

Display all tickets stored in a user’s local ticket file.

Related Commands

To start a login session (to obtain a ticket)

p4 login

To end a login session (to delete a ticket)

p4 logout