Author: Mark Duffill | Posted on: 12/22/2009 12:20:32 PM | Views : 789

Hi,

We are using windows authentication for a web application and have the roles defined in the web.config for each page.
The problem is that we have to have them in the form DOMAIN\RoleName which means when we deploy it to a different domain we have to do a search and replace.
So is there either:
A way to automatically add the domain name into the roleA single place in the main site web.config to specify the domainHook into the role loading and prefix it on ourselfs?Thanks



...

Go to the complete details ...