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

There are plenty of examples of getting the current user via javascript object model in SharePoint 2010, but I am looking for help with getting any users email/title when I have the loginName.

There is a user collection but I think you use the site groups to get to it? Any help is greatly appreciated!

share|improve this question
up vote 1 down vote accepted

You can call the GetUserProfileByName operation in the UserProfileService SOAP web service. The easiest way to do this in JavaScript is to use the SPServices jQuery plugin. The information provided in the documentation linked below should be enough to get you started.

UserProfileService.GetUserProfileByName Method

$().SPServices GetUserProfileByName Documentation

share|improve this answer
thanks Rob. appreciated. – Justin Jan 7 '14 at 11:57

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.