Query can retrieve a list of members from their IDs