I just want to know, is there any way to get a SharePoint user using javascript / jquery from default SharePoint 2010 user profile db?

My requirement is to form an array of all SharePoint site users (user name) and use this array in a java function (that run behind the page at client side ) as a data source for a SPServices function.

Please provide any fisible solution or any other approach for building the array for javascript.

  • You say 'get a sharepoint user' and also 'an array of all sharepoint site users'. The answer depends based on which you want to do. Feb 1, 2011 at 19:19

1 Answer 1


Check out http://SPServices.codeplex.com, it has functions to interact with the user profile service, specifically the UserProfileService operations.

  • 1
    Eric's right: SPService rocks. (I wrote it.) Feb 1, 2011 at 19:18
  • we used this awesome library for our dynamic phonebook. It rocks! Feb 1, 2011 at 21:53
  • Ditto. It is an awesome plugin.
    – James Love
    Nov 30, 2011 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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