Method System.getgrent()
- Method
getgrent
array(int|string|array(string)) getgrent()- Description
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).
- Returns
An array with the information about the group
Array string0Group name
string1Group password (encrypted)
int2ID of the group
array3..Array with UIDs of group members
- See also