Perforce 2006.1 Command Reference
<< Previous Chapter
p4 protect
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 rename

p4 protects

Synopsis

Display protections in place for a given user, group, or path.

Syntax

p4 [g-opts] protects [ -a | -u user|group ] [ file... ]

Description

Use the p4 protects command to display the lines from the protections table that apply to a user, group, or set of files.

With no options, p4 protects displays the lines in the protections table that apply to the current user. If a file argument is provided, only those lines in the protection table that apply to the named files are displayed.

Use the -a flag to display lines for all users, or -u user to display lines for a specific user or group.

Options

-a

Displays protection lines for all users. This option requires super access.

-u user

Displays protection lines that apply to the named user or group. This option requires super access.

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,
super for -a and -u

Related Commands

To edit the protections table

p4 protect


Perforce 2006.1 Command Reference
<< Previous Chapter
p4 protect
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 rename
Please send comments and questions about this manual to [email protected].
Copyright 1999-2006 Perforce Software. All rights reserved.
Last updated: 06/23/06