Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multiple Membership Providers

  Asked By: Vaughn    Date: Jul 24    Category: Sharepoint    Views: 1880

I have two separate web applications, and I need to use Central Admin
to set policy users for the different applications. The problem is,
they use different authentication providers. One application uses
ADAM and the other application uses SQLServer. Does anyone know how
the <membership> block should look in Central Admin's web.config file
so that you can use it to resolve users regardless of which provider
houses the user? Does what I have below look correct?

<membership defaultProvider="ADAMMembership">
<add name="ADAMMembership" ... />
<add name="AspNetSqlMembershipProvider" ... />

Or, do I need another <membership> block completely?



5 Answers Found

Answer #1    Answered By: Brandan Roach     Answered On: Jul 24

Central Admin should have one membership  element, but without a
defaultProvider. Then there is one Providers element and multiple  Add
elements with the different names.

Answer #2    Answered By: Kai Carney     Answered On: Jul 24

Is there an easy way using the Default Authentication provider to hide
all instances of a person's domain login?

Alerts and profile pages display this private information prominently. I
would like to remove it.

Answer #3    Answered By: Gaurav Nemane     Answered On: Jul 24

When I add the second <providers> block  (after removing the
defaultProvider attribute), I can't get Central Admin to resolve  to
any user  -- from either provider. When I remove the second one, at
least it resolves to ADAM (which was the original default provider).
Does the order of the <providers> block matter? Do I need a remove
statment first, even though the names are unique?

Answer #4    Answered By: Marjorie Humphrey     Answered On: Jul 24

Please re-read my reply. You should have two ADD elements, but only one
Providers element. Both ADD elements are inside the single providers

Answer #5    Answered By: Chelsey Watts     Answered On: Jul 24

My apologies. You are correct -- that worked. Thanks for the response.

Didn't find what you were looking for? Find more on Multiple Membership Providers Or get search suggestion and latest updates.