Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
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. –  Marc D Anderson Feb 1 '11 at 19:19
add comment

1 Answer 1

up vote 7 down vote accepted

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

share|improve this answer
1  
Eric's right: SPService rocks. (I wrote it.) –  Marc D Anderson Feb 1 '11 at 19:18
    
we used this awesome library for our dynamic phonebook. It rocks! –  Anders Rask Feb 1 '11 at 21:53
    
Ditto. It is an awesome plugin. –  James Love Nov 30 '11 at 7:41
add comment

Your Answer

 
discard

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.