def METHOD_NAME(self):
    self.member_of_h = {}
    self.grt = {
        'members': 'gr_mem',
    }
    self.sysname, self.nodename, x, x, self.machine = os.uname()
    if self.sysname not in ['SunOS', 'Linux', 'HP-UX', 'AIX', 'OSF1']:
        perror('group_membership: compliance object not supported on', self.sysname)
        raise NotApplicable
    self.groups = {}
    for d in self.get_rules():
        if type(d) != dict:
            continue
        for k, v in d.items():
            if "members" not in v:
                continue
            for i, m in enumerate(v["members"]):
                d[k]["members"][i] = m.strip()
        self.groups.update(d)
    if os.path.exists('/usr/xpg4/bin/id'):
        self.id_bin = '/usr/xpg4/bin/id'
    else:
        self.id_bin = 'id'