title: How to hide links in masterpage for some roles?
body: <p>How can I hide hyperlinks in my Masterpage from users with specific role? I'm using Identity framework for providing users and Roles. My application is in MVC4.</p>
  
  <p>I want the following links to be hidden for users:</p>
  
  <pre><code>                &lt;li&gt;
                      &lt;asp:HyperLink runat="server" NavigateUrl="~/Pages/Management/Reports.aspx"&gt;Reports&lt;/asp:HyperLink&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:HyperLink runat="server" NavigateUrl="~/Pages/Management/Management.aspx"&gt;Management&lt;/asp:HyperLink&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:HyperLink runat="server" NavigateUrl="~/Pages/Roles/ManageUserRoles.aspx"&gt;Roles&lt;/asp:HyperLink&gt;
                  &lt;/li&gt;
  </code></pre>