title: Get user email address from Active Directory with Jenkins
body: <p>Jenkins is configured with Active Directory for authentication.</p>
  
  <p>The job is triggered remotely using REST API based on token and not through the Jenkins UI. One of the parameters passed to the job is userID which is present in the active directory. To send notifications to the user who kicked off the job remotely, how do I retrieve the email address for that user id ?</p>