Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

You have to do it manually via code for each provider and then make the count manually. For example: http://msdn.microsoft.com/en-us/library/ms152044.aspx

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

Your Answer

 
discard

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.