Adding ASP.NET Identity to an Empty or Existing Web Project
https://www.asp.net/identity/overview/getting-started/adding-aspnet-identity-to-an-empty-or-existing-web-forms-project http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-1 http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-2
http://www.dotnetfunda.com/articles/show/2898/working-with-roles-in-aspnet-identity-for-mvc
//https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles
@if (ViewContext.HttpContext.User.IsInRole("Administrator"))
{
<dt>Test</dt>
}
[Authorize(Roles = "Administrator")]