Options Constructor (GroupsCmdFlags, Int32)
|
Groups command options.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax public Options(
GroupsCmdFlags flags,
int maxItems
)
Public Sub New (
flags As GroupsCmdFlags,
maxItems As Integer
)
public:
Options(
GroupsCmdFlags flags,
int maxItems
)
new :
flags : GroupsCmdFlags *
maxItems : int -> Options
Parameters
- flags
- Type: Perforce.P4GroupsCmdFlags
- maxItems
- Type: SystemInt32
Return Value
Type:
Remarks
p4 help groups
groups -- List groups (of users)
p4 groups [-m max] [-v] [group]
p4 groups [-m max] [-i [-v]] user | group
p4 groups [-m max] [-g | -u | -o] name
The first form lists all user groups defined in the server, or just
the specified group.
The second form displays subgroup relationships. If a user argument is
specified, only groups containing that user are displayed. If a group
argument is specified, only groups containing the group are displayed.
The third form is useful when there are groups and users with the
same name, or when requesting all groups owned by a certain user.
The -i flag also displays groups that the user or group belongs to
indirectly by means of membership in subgroups.
The -m max flag limits output to the specified number of groups.
The -v flag displays the MaxResults, MaxScanRows, MaxLockTime, and
Timeout values for each group that is displayed.
The -g flag indicates that the 'name' argument is a group.
The -u flag indicates that the 'name' argument is a user.
The -o flag indicates that the 'name' argument is an owner.
See Also