title: How to create roles in ASP.NET Core and assign them to users?
body: <p>I am using the ASP.NET Core default website template and have the authentication selected as &quot;Individual User Accounts&quot;. How can I create roles and assign it to users so that I can use the roles in a controller to filter access?</p>