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

Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles searchfield for example). I have seen examples of this on ordinary websites but will I be able to do this on a custom sharepoint webpart and how do I do it?

share|improve this question
up vote 0 down vote accepted

This sounds like a case for the Sharepoint PeopleEditor control. By your description I think it will satisfy all your requirements.

Karine Bosch has a nice blog post about the user control here

Good luck

share|improve this answer
This looks very promising. I will try to implement this in my webpart. I´ll get back to you. :) – Skaft Mar 27 '13 at 15:28
Your solution worked. Thanks mate! – Skaft Mar 27 '13 at 18:29

I see you tagged this question with jQuery and ajax, so I assume you want to do this client side (on the browser)... IF you are open to using SPServices library (, I have created a People Picker widget that you can use in your custom UI... More info. on it here:

share|improve this answer
Sounds interesting. I will look into it. – Skaft Apr 9 '13 at 9:00

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.