posix_getgroups

(PHP 3>= 3.0.10, PHP 4 >= 4.0b4)

posix_getgroups --  Return the group set of the current process

Description

array posix_getgroups ()

Returns an array of integers containing the numeric group ids of the group set of the current process. See also posix_getgrgid() for information on how to convert this into useable group names.