Extract membership method to be able to retried groups that a user belong to.