def enumerateGroupsByUserFull(self, name):
    user = self.lookupUserByName(name)
    gid = user[GIDNUMBER]
    return [i for i in GroupEnt.objects.values() if ((i[GIDNUMBER] == gid) or (name in i.get(MEMBERNAME, [])))]
def enumerateGroupsByUserFull(self, name):
    user = self.lookupUserByName(name)
    gid = user[GIDNUMBER]
    return [i for i in GroupEnt.objects.values() if ((i[GIDNUMBER] == gid) or (name in i.get(MEMBERNAME, [])))]