P4OO.Group#
P4OOGroup
dataclass
#
Bases: _P4OOSpecObj
Perforce Group Spec Object
id Required: Yes
Forcible: Yes
Attributes:
Name | Type | Description |
---|---|---|
group |
str
|
Name of the group |
description |
str
|
Description field |
owners |
P4OOUserSet | P4OOUser | str
|
Owners of the group |
users |
P4OOUserSet | P4OOUser | str
|
Members of the group |
subgroups |
P4OOGroupSet | P4OOGroup | str
|
Subgroup Members of the group |
sessiontimeout |
int
|
Maximum duration a session ticket will be valid for members of this group |
passwordtimeout |
int
|
Maximum duration a user password will be valid for members of this group |
maxresults |
int
|
Maximum maxresults value for all queries by members of this group |
maxscanrows |
int
|
Maximum rows that can be queried by members of this group |
maxlocktime |
int
|
Maximum time (ms) any operation can lock any database by members of this group |
maxopenfiles |
int
|
Maximum number of files any single command can open by members of this group |
maxmemory |
int
|
Maximum memory (MB) any single command can use by members of this group |
See Also
Perforce Helix Core Command Reference: https://www.perforce.com/manuals/cmdref/Content/CmdRef/p4_group.html
P4OOGroupSet
dataclass
#
Bases: _P4OOSet
P4OOSet
of P4OOGroup
objects
query(group=None, member=None, owner=None, indirect=None, maxresults=None, **kwargs)
#
Executes p4 groups
query
Parameters:
Name | Type | Description | Default |
---|---|---|---|
group |
P4OOGroup | str
|
List groups that |
None
|
member |
P4OOUser | str
|
List groups that |
None
|
owner |
P4OOUser | str
|
List groups that |
None
|
indirect |
P4OOUser | P4OOGroup | str
|
List indirect/transitive memberships as well as direct |
None
|
maxresults |
int
|
Return only the first [max] results |
None
|
Returns:
Type | Description |
---|---|
P4OOGroupSet
|
|
See Also
Perforce Helix Core Command Reference: https://www.perforce.com/manuals/cmdref/Content/CmdRef/p4_groups.html