Solved

How to show hide menu items in sitemap file

Posted on 2013-06-16
2
303 Views
Last Modified: 2013-07-01
I have a table called users which has a column called roles , and it holds various values such as Admin, User, SuperUser.

Based on this value I need to hide show pages for a given type of user.

How can I do that?
0
Comment
Question by:countrymeister
2 Comments
 
LVL 16

Accepted Solution

by:
Swapnil Piparia earned 500 total points
ID: 39252731
Hi  countrymeister,

      What you need is called "Role based security". Please find below links in order of preference for implementation details and steps.

1. http://support.microsoft.com/kb/311495

2. http://www.theobjectguy.com/RoleBasedSecurity/

Thanks and Regards,
Swapnil
0
 
LVL 1

Author Closing Comment

by:countrymeister
ID: 39289830
I had already defined roles in my app, so goign with a asp.nets role based security was not an option.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now