Pulak deb

Pulak deb

  • NA
  • 108
  • 8.9k

how to gain user rights into menu item?

Oct 30 2014 5:22 AM
I take some menu using asp.net
like bellow
<Items>
<asp:MenuItem Text="Home" NavigateUrl="~/Default.aspx" ></asp:MenuItem>
<asp:MenuItem Text="About us" >
<asp:MenuItem Text="About us" ></asp:MenuItem>
<asp:MenuItem Text="Vision/Mission"></asp:MenuItem>
<asp:MenuItem Text="Our values/Strength" ></asp:MenuItem>
<asp:MenuItem Text="Foundation of our activities" >
</asp:MenuItem>
<asp:MenuItem Text="Overview of our activities" >
</asp:MenuItem>
</asp:MenuItem>
</Items>
I want  visible menuitem depend on user rights.
That is if user rights is "vision/mission" then visible menu Item vision/mission.
How can i do this?