Solved

How to show hide menu items in sitemap file

Posted on 2013-06-16
2
304 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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