This project has moved. For the latest updates, please go here.

Programmatically search for ADFS users

Feb 22, 2014 at 2:59 PM
hi there,

I'm not sure whether you are able to help me, but I'm trying to understand the mechanism behind the user search. After we have succesfully installed this solution, our people pickers' search is working correctly. However when I try to programmatically search for ADFS users, no results are returned (unless the user is already added to the site collection).

I'm using the SPUtility.SearchPrincipals method. I don't really know its internals, but shouldn't it be transparent when the ADFS claims provider is succesfully configured through your solution?
Is there anything different (any method/function) that is called when you press the search button on the native SharePoint people pickers?

Thanks a lot in advance