title: ADFS: Send user manager's email address as a claim
body: <p>I integrated SSO with ADFS, and I need to get the manager's email of whoever is currently logging in. When I send over the manager attribute using:</p>
  
  <pre><code>query = ";manager;{0}"
  </code></pre>
  
  <p>I only get back the manager name and org.</p>
  
  <p>I tried following this article:
  <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ff678048(v=ws.10)" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ff678048(v=ws.10)</a></p>
  
  <p>However, the rules given in the example result in a syntax error.</p>
  
  <p>and tried various methods from threads such as: 
  <a href="https://social.msdn.microsoft.com/Forums/expression/en-US/903e217b-a441-41d6-9400-661644820500/extract-manager-email-address?forum=Geneva" rel="nofollow noreferrer">https://social.msdn.microsoft.com/Forums/expression/en-US/903e217b-a441-41d6-9400-661644820500/extract-manager-email-address?forum=Geneva</a></p>
  
  <p>I think I need to query for the manager using their name somehow, but I am having trouble coming up with a solution. I do understand I likely need multiple rules. Can anyone shed some light on this problem? 
  Thank you</p>