title: Using R to grab Windows AD userid
body: <p>Does anyone know if it's possible to use R to grab the Windows AD userid and password?</p>
  
  <p>I'm using RCurl to grab data from a BusinessObjects Web Service. Everything works fine except I have to pass my userid and password as parameters. Rather than hard coding my password into the code (as it will be used by others), I'd like to grab the AD userid and password and pass those with the HTTP request.</p>
  
  <p>Any advice would be gratefully recieved.</p>