Asp.net Menu displaying diffrent menu items depending on access level
<p>I'm trying to create an asp menu for a website. The site will have 2 levels of user Master users (which will have more options) and Sub users which will have limited menu options. </p>

<p>I was wonder does anyone knows if a way to hide menu items?  I've tried google but I can't really find much.</p>

<p>Here's the Asp code</p>

<pre><code>&lt;asp:Menu id="MainMenu" runat="server" StaticDisplayLevels="1" Orientation="Horizontal" &gt;
    &lt;Items&gt;
        &lt;asp:MenuItem Text="Setup" Value=""&gt;
            &lt;asp:MenuItem ID="DepoAccount" Text="Depo Account Details" Value="" NavigateUrl="~/AccountManagment.aspx"&gt;&lt;/asp:MenuItem&gt;
            &lt;asp:MenuItem Text="User Accounts" Value="" NavigateUrl="~/ImplantParameters.aspx"&gt;&lt;/asp:MenuItem&gt;
        &lt;/asp:MenuItem&gt;
        &lt;asp:MenuItem Text="Actions" Value=""&gt;
            &lt;asp:MenuItem Text="View Consignments" Value="" NavigateUrl="~/Consignements.aspx"&gt;&lt;/asp:MenuItem&gt;
            &lt;asp:MenuItem Text="Add Consignments" Value="" NavigateUrl="~/Consignements.aspx"&gt;&lt;/asp:MenuItem&gt;
        &lt;/asp:MenuItem&gt;
        &lt;asp:MenuItem Text="Utitlies" Value=""&gt;
            &lt;asp:MenuItem Text="Export" Value="" NavigateUrl="~/ImplantParameters.aspx"&gt;&lt;/asp:MenuItem&gt;
        &lt;/asp:MenuItem&gt;
        &lt;asp:MenuItem Text="Reports" Value=""&gt;
            &lt;asp:MenuItem Text="Manifest" Value="" NavigateUrl="~/ImplantParameters.aspx"&gt;&lt;/asp:MenuItem&gt;
        &lt;/asp:MenuItem&gt;
    &lt;/Items&gt;
&lt;/asp:Menu&gt;
</code></pre>

<p>I have worked out how to hide the whole menu when the user is not logged in 
    MainMenu.Visible = false</p>

<p>Any pointers would be greatly appreciated.</p>
