title: SharePoint REST query SP.UserProfiles.PeopleManager
body: <p>Is it possible to get data using REST query like below:</p>
  
  <p><a href="http://moss.moss/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor%28accountName=@v%29?@v=" rel="nofollow">http://moss.moss/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v=</a>'user_domain\user'&amp;$filter=DirectReports </p>
  
  <p>And call by JavaScript.</p>
  
  <p>I would like to create script which will check if user is a manager (has DirectReports) and next display JavaScript alert.</p>
  
  <p>Thanks in advance!</p>