Author: sunsilk10 | Posted on: 3/17/2009 6:37:58 AM | Views : 298

I have a web application (asp.net 2.0). I can authenticate users successfully using the default sqlexpress database. Now, I want to be able to

give different access based on roles. I have a separate class library in the same solution. This project uses a configuration file to control the list of tables that users can search against. I want to be able to change this list of tables based on the membership roles.

In my class library, I have tried the following:

// Get the web.config for the web application
System.Configuration.Configuration config =
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Go to the complete details ...