Author: afache | Posted on: 5/12/2009 6:47:02 AM | Views : 325

I am using 'forms' authentication mode in my web application. I am not using the formsAuthenticate method to verify credentials, but instead I am using a function I have written that checks if the user is found in the database or not, and based on that I redirect the user to the home page.

 I would like to deny users and allow roles in the webconfig from accessing certain webpages in my webapplication. How can my code behind see the roles defined in the webconfig file? Are they defined somewhere in the database?

 

Any advise is appreciated.
...

Go to the complete details ...