title: How to hide particular menu items from master page based on login type?
body: <p>Below given code is what i am using for displaying menu items in master page. I do have a login page from where the users login to view the master page menu items. There are different type of users namely "admin,worker,Manager,etc..". I want to hide menu items from master page based on user authentication. If the user logins as "admin" then all menu items should be visible but if the user logins as "worker" then some menu items should be hidden so that they cannot view it. How to do this in a simple way without making it more compicated.</p>
  
  <p>Please help me regarding this situation. I am not an expertise in programming, so explain me in a detailed manner. Thanks in advance.</p>
  
  <pre><code>&lt; asp:Menu id="Menu1" runat="server" width="200px" &gt;   
      &lt; Items &gt;  
          &lt; asp:MenuItem Text="EMPLOYEE DETAILS" NavigateUrl="~/Employee_Details.aspx" 
          Value="Employee_Details" &gt;      
          &lt; /asp:MenuItem &gt;  
          &lt; asp:MenuItem Text="INSPECTION" NavigateUrl="~/Inspection_Details.aspx" Value="Inspection" &gt; 
          &lt; /asp:MenuItem &gt;  
          &lt; asp:MenuItem Text="LOGIN DETAILS" NavigateUrl="~/Login_Details.aspx"  Value="Login_Details" &gt;
          &lt; /asp:MenuItem &gt;
          &lt; asp:MenuItem Text="WORK" NavigateUrl="~/WorkInProgress.aspx" Value="Work" &gt;  
          &lt; /asp:MenuItem &gt;  
      &lt; /Items &gt;  
  &lt; /asp:Menu &gt;
  </code></pre>