ID EN
OS

initgroups

Python 3.11

Call the system initgroups() to initialize the group access list with all of the groups of which the specified username is a member, plus the specified group id.

Syntax

PYTHON
os.initgroups(username, gid, /)

See Also

Availability