Home > PHP > Function > POSIX > posix_getgroups()

posix_getgroups()

posix_getgroups - Return the group set of the current process

Syntax

array posix_getgroups ()

Arguments

-

Description

Gets the group set of the current process.

Version

PHP 4, 5

Return value

Returns an array of integers containing the numeric group ids of the group set of the current process.