array(int|string|array(string)) getgrent()
Get a group entry from /etc/groups file. getgrent interates thru the groups source and returns one entry per call using the systemfunction getgrent(3).
Always call endgrent when done using getgrent !
An array with the information about the group
Group name
Group password (encrypted)
ID of the group
Array with UIDs of group members
get_all_groups() getgrnam() getgrgid()