title: When a user has multiple roles, is there a way to pick one role for the remainder of the session in asp.NET Core MVC?
body: <p>I am using Visual Studio 2017, and I have an asp.NET Core MVC project where some users have multiple Roles. I am wondering if there is a way to set just one of these Roles to be the user's only Role for the remainder that user's session.</p>
  
  <p>For example, if the user belongs to two Roles, NormalUser and AdminUser, and they want to use the app as a NormalUser, is there something I can set so that a Role check like <code>User.IsInRole(nameof(RoleNames.AdminUser))</code> will return false, but <code>User.IsInRole(nameof(RoleNames.NormalUser))</code> will return true?</p>
  
  <p>Does the framework provide any such functionality?</p>