Availability::- use_module(library(uid)).
(can be autoloaded)
[det]getgroups(-GroupsIDs:list(integer))GroupsIDs is the set of supplementary group IDs of the
calling process. Note that these are numeric identifiers. Use
group_info/2 to obtain details
on the returned group identifiers.