SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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

whats up? Has anyone used the UserProfileManager.Search method? if I pass an array of strings it does an 'AND' or an 'OR' search? Is it possible to do a 'Like' search using this function? Thanks in advance, and happy holidays

share|improve this question
Just found this…. I'm currently doing some concept testing to see how it works. – Jaime Dec 6 '12 at 16:34

I prefer to leverage search and SPQuery for a full text query, much more power.

You can then use this in conjuction with the UPM to get the user profile.

To use a the search engine use the code which I posted here (but change scope to people and map the fields if you need extra)

Using SPQuery

// Then get the user
UserProfile userProfileColleague = userProfileManager.GetUserProfile(username);
share|improve this answer

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.