public ActionResult Register() { // Claims-aware "Register" method to display an HTML Form // Make sure you study the Views/Account/Register.cshtml view code // It includes new input elements to gather name and claim data // Define your custom role claims here // However, in a real-world in-production app, you would likely maintain // a valid list of custom claims in persistent storage somewhere var roles = new List<string> { "RoleOne", "RoleTwo", "RoleThree" }; // Define a register form var form = new RegisterViewModelForm(); form.RoleList = new MultiSelectList(roles); return View(form); }