title: ASP.NET MVC - menu for different roles
body: <p>I am writing my first MVC 3 aplication (in ASP.NET) and I don't know how I can(should) display the menu for different users.</p>
  
  <p>My app is created as MVC3 Web Application and the menu look like this:</p>
  
  <pre><code>&lt;div id="menucontainer"&gt;
              &lt;ul id="menu"&gt;
                  &lt;li&gt;@Html.ActionLink("Home", "Index", "Home")&lt;/li&gt;
                  &lt;li&gt;@Html.ActionLink("Info", "Info", "Home")&lt;/li&gt;
              &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I created two types of roles: user and admin. Now, I want to show another links for user(Projects, Profile) and for admin(Manage Projects, Manage Accounts, Manage news).</p>
  
  <p>How I should do that?</p>