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'm having trouble with getting user's manager data in Sharepoint Javascript Model.

I'm using context.get_web().get_siteUserInfoList(); through SiteUserInfoList. What I got back is a bunch of info about a user (Title, JobTitle, Department, Office etc...) except who's that user manager.

What I'm missing? Or how can i get user's manager?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

This blogpost describes how to get the current users manager by using the SPservices library.

The SPServices libary can be found on codeplex.

share|improve this answer
    
Note, this would require having SharePoint Server with a User Profile Service Application. –  Mike Oryszak May 10 '13 at 13:18
    
Thanks, I gave it a shot but ultimately got it working through SP.UserProfiles.UserProfilePropertiesForUser –  sebz May 13 '13 at 13:12

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.