List groups of users.
p4 [g-opts] groups [-m max] [-v] [group]
p4 [g-opts] groups [-m max] [-i [-v]] user | group
p4 [g-opts] groups [-m max] [-g | -u | -o] name
Shows a list of all current groups of users as created by p4 group
. Only the group
names are displayed.
If the optional user
argument is provided, only the
groups containing that user are listed. If the optional
group
argument is provided, only groups containing
the named group are listed.
Use the -i
option to include groups to which the user (or
group) belongs by means of being a member of a subgroup. If a group
argument is given, only groups that contain the named group are
displayed.
Use the -v
option to display the MaxResults
,
MaxScanRows
, MaxLockTime
, and
Timeout
values for the named group, or, if no group is
specified, for all groups.
Use the -m max
option to limit the output to the
first max
groups.
|
List groups with the specified name. |
|
Display groups to which the |
|
List only the first |
|
List groups owned by the named user. |
|
List groups for whom the specified user is a member. |
|
Display verbose output: include |
|
See Global Options. |
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
p4 group
-o
groupname
. This variation of p4 group
requires only
list
access.
|
Display the names of all groups of which user |
To create or edit an existing group of users |
|
To view a list of all the members and specifications of a particular group |
|
To set Perforce access levels for the members of a particular group |