roleManager defaultProvider

M

michael.spencer

What I am trying to do is change the roles a user is a member of based
on where they navigate to into in a site.

So what is the point of having multiple roleManager providers? Is
defaultProvider required? If I omit defaultProvider can ASP.NET
determine which provider to use based on ApplicationVirtualPath or
something? If so then how do I set that up in ADAM when I have nested
applications? Or else can I do that myself somehow even though
Roles.Provider is read only? Do scopes play into any part of this? Do I
have to set up the same provider with a different application name in
every subdirectorys web config?

I think I could use a single provider but changing the
Provider.ApplicationName applies to the application and not to the
session. Why is that?
 
M

michael.spencer

I do see now that if I create sub applications and place a web config
there I can change the defaultProvider alone there without respecifying
all of the providers and connection strings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top