Set up a facade layer with a factory and instantiate the one you would like
based on whatever condition you use to determine which one should be used.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"william" <wi*****@discussions.microsoft.comwrote in message
news:99**********************************@microsof t.com...
Hi,
Could anyone tell me how to change the default roleprovider at runtime?
Basically I have a few sets of roleprovider and membership provider, I
want
to switch among them at runtime based on some sort of identifier.
Thanks.
William