I understand that a good way to check if an user is in a role is:
if (User.IsInRole(\"Admin\")) { }
However How can I check if my user is
You can also use
if(Roles.GetRolesForUser(model.UserName).Contains("Admin")){ }