0

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!

1 Answer 1

1

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

0

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.