return an attribute of all users belonging to a group