getgrgid method
Search the group database for a group ID. Note: This is a structural mock mapped to current process environment.
Implementation
group? getgrgid(int gid) {
if (gid == 0) return getgrnam('root');
if (gid == 1000) return getgrnam('users');
return null;
}