roleManager defaultProvider

Discussion in 'ASP .Net Security' started by michael.spencer@gmail.com, Dec 21, 2005.

  1. Guest

    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?
    , Dec 21, 2005
    #1
    1. Advertising

  2. Guest

    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.
    , Dec 21, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Weaver
    Replies:
    0
    Views:
    726
    Weaver
    Jan 18, 2006
  2. Joel Reinford

    RoleManager & Session object

    Joel Reinford, Jul 25, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    587
    news.versatel.nl
    Jul 25, 2006
  3. JP

    Rolemanager

    JP, Dec 4, 2006, in forum: ASP .Net
    Replies:
    7
    Views:
    1,614
  4. J
    Replies:
    0
    Views:
    980
  5. MikeS

    roleManager providers

    MikeS, Dec 22, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    95
    MikeS
    Dec 25, 2005
Loading...

Share This Page