SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My SP web application use FBA authentication (AD and aspnetSQLmembership providers). Requirement : I want the count of providers and display name for the provider.After that i want to check if user exist in more than one of the provider. How can i achieve this.

share|improve this question

Is the requirement something that you are looking for in the People Picker? If so, the solution that's going to work out best for you is for a custom claims provider. With this, you can define exactly the criteria as specified in your requirements with your results appearing much like the normal search criteria does for the people picker.

Steve Peschka has an excellent article series on writing your own custom claims provider. It takes a little bit to digest, but as you go through and attempt to implement, you'll soon figure out the capabilities and how the flexibility of the claims provider will enable you to return the results you are looking for.

share|improve this answer

You have to do it manually via code for each provider and then make the count manually. For example:

share|improve this answer
can you provide code snippet. – Monica Jagani Oct 3 '11 at 14:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.