setgroups
Set active groups from a list of group ids.
def setgroups(
groups: list[int]
) - > None
Set active groups from a list of group ids.
Parameters
| Name | Type | Description |
|---|---|---|
| groups | list[int] | A list of integer group IDs to be set as the active supplementary groups for the current process. |
Returns
| Type | Description |
|---|---|
None | Returns the result of the underlying system call, typically None on success. |