title: User.IsInRole("Admin") not working Identity 2.0
body: <p>I am using <code>User.IsInRole("Admin")</code>in my Razor _layout.cshtml page to check the role of authenticated users and display the menu accordingly. The following is the code I am using:</p>
  
  <pre><code>@if (Request.IsAuthenticated &amp;&amp; User.IsInRole("Admin"))
              {
                  &lt;li class="@Html.RouteIf("index", "active")"&gt;
                      &lt;a href="@Url.Action("Dashboard", "home")" title="Dashboard"&gt;&lt;i class="fa fa-lg fa-fw fa-dashboard"&gt;&lt;/i&gt;&lt;span class="menu-item-parent"&gt;Analytics Dashboard&lt;/span&gt;&lt;/a&gt;
                  &lt;/li&gt;
  }
  </code></pre>
  
  <p>Now the problem is that the admin is logged into the systems successfully but no link is shown in the menu. </p>
  
  <p>While Googling this problem I have made the following changes in my web.config</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;roleManager enabled="true" /&gt;
    &lt;/system.web&gt;
  </code></pre>
  
  <p>and in </p>
  
  <pre><code>&lt;remove name="RoleManager" /&gt;
  </code></pre>
  
  <p>Any help is appreciated!</p>