The only convenient way would be to iterate the roleNames. This wouldn't produce a huge overhead because the roles are inMemory anyways