system.getgroups

Synopsis

local system = require "system"
system.getgroups() -> integer[]

Description

Returns the current supplementary group IDs of the calling process. It is unspecified whether getgroups() also returns the effective group ID in the list.