How to retrieve the groups of an object?
Found it myself: Use obj.users_group, e.g.

for obj in bpy.data.objects: # All objects
    for group in obj.users_group: # All groups
        # Do something, e.g. use group.name to find specific groups.