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, -g group, or -h host flags to display lines for a specific user, group, or host IP address.Use the -m flag to display a one-word summary of the maximum applicable access level.
-g group Displays protection lines that apply to the named group. This option requires super access. -h host Displays protection lines that apply to the specified host IP address. This option requires super access. -u user Displays protection lines that apply to the named user. This option requires super access. Display a one-word summary of the maximum applicable access level. (Note: this does not take into account exclusionary mappings.) See the Global Options section.
Can File Arguments Use
Revision Specifier? Can File Arguments Use
Revision Range? Minimal Access Level Required