Solved

How to show hide menu items in sitemap file

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

24 Experts available now in Live!

Get 1:1 Help Now