NAME getgrouplist - get list of groups to which a user belongs LIBRARY Standard C library ... libc , -lc ) SYNOPSIS #include int getgrouplist(const char * user , gid_t group , gi…/proc/sys/kernel/ngroups_max . SEE ALSO getgid (2), setgid (2), getgrouplist (3), group_member (3), initgroups (3), capabilities/proc/sys/kernel/ngroups_max . SEE ALSO getgid (2), setgid (2), getgrouplist (3), group_member (3), initgroups (3), capabilitiesgetgrent_r (3), getgrgid (3), getgrnam (3), getgrouplist (3), putgrent (3), group/proc/sys/kernel/ngroups_max . SEE ALSO getgid (2), setgid (2), getgrouplist (3), group_member (3), initgroups (3), capabilities/proc/sys/kernel/ngroups_max . SEE ALSO getgid (2), setgid (2), getgrouplist (3), group_member (3), initgroups (3), capabilitiesgetgrent_r (3), getgrgid (3), getgrnam (3), getgrouplist (3), putgrent (3), groupgetgrent_r (3), getgrgid (3), getgrnam (3), getgrouplist (3), putgrent (3), groupALSO getgid (2), getgroups (2), getgrouplist (3), groupprovided, pass each key in succession to getgrouplist (3) and display the result. Enumerationgetpwuid (3) and their group memberships with getgrouplist (3) and set them all usinginitgroups Supplementary group access list, used by getgrouplist (3) function. netgroup Network-wide list