For the latest stable version, please use Emilua API 0.10!

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.