Mulitple membership providers but one role provider

Discussion in 'ASP .Net' started by TheCornjerker, Aug 6, 2007.

  1. With ASP.Net 2.0, I have setup a custom login screen that first
    authenticates against and SQL membership provider and if that fails,
    against an Active Directory provider. I'm wanting to have one SQL
    role provider for both these membership providers.

    Is this possible? If so, can you give me a link or some information on
    how to set this up. I have the multi-membership provider working
    properly.

    Thanks,
    C
    TheCornjerker, Aug 6, 2007
    #1
    1. Advertising

  2. Nevermind. I just couldn't use the Web Site Administration Tool to
    manage the roles. I had to manually call the
    Roles.AddUserToRole(username,rolename) method.

    C
    TheCornjerker, Aug 6, 2007
    #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. mehdi
    Replies:
    0
    Views:
    354
    mehdi
    Nov 30, 2006
  2. Replies:
    0
    Views:
    358
  3. Replies:
    1
    Views:
    338
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 20, 2007
  4. sloan
    Replies:
    1
    Views:
    497
    Chad Scharf
    Jul 3, 2007
  5. =?Utf-8?B?Ym9iYnk=?=

    Membership and Role Providers

    =?Utf-8?B?Ym9iYnk=?=, Sep 23, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    268
    =?Utf-8?B?TWFuaXNo?=
    Sep 24, 2007
Loading...

Share This Page