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 want to get other user's profile details like email, id, work phone, home phone, department, title etc... By using which webservice/method, can I get this informtions? I tried with UserProfileService.GetUserProfileByName() method, but it is giving profile information of same user who configured it, not other user's (who shared items) profile.

share|improve this question
    
Can you please submit your code? It makes it easier to understand what you are doing, where, and any possible errors –  Robert Lindgren Apr 10 '13 at 11:04
    
What version of SharePoint? 2010 and 2013 have different approaches. GetUserProfileByName() will return the calling user. You have to pass the user account in order to get another user. If 2013 use REST and not SOAP. –  Matthew McDermott Apr 10 '13 at 13:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.