0

I have the Sitemap for Menu.like

<sitemap url="" title="Admin" roles="admin">
<sitemap url="~/Rooms.aspx" title="Rooms" roles="admin">
.........................
.........................
</sitemap>

Now When I am Login with customer then Rooms.aspx and others are not seen but parent node "admin" is seen which not required then what to do "admin" is seen only for admin

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by akil007
0

<location path="admin">
<system.web>
<authorization>
<allow roles="admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>

This is used to see admin menu for admin

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.