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?


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

  • 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

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 (http://spservices.codeplex.com/), I have created a People Picker widget that you can use in your custom UI... More info. on it here: http://purtuga.github.com/SPWidgets/

  • Sounds interesting. I will look into it. – Skaft Apr 9 '13 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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