title: InfoPath 2013 - Connect to ActiveDirectory using SOAP Web Service
body: <p>I would like to connect to Active Directory via InfoPath 2013 but I cannot find folder _vti_bin I working with SharePoint Foundation maybe this is a problem?</p>
  
  <p><strong>I Found this:</strong></p>
  
  <p>I recommend that you can follow the steps as below to implement it in your environment.</p>
  
  <ol>
  <li><p>Go to the List tab of the list, and click “Customize Form” from the Ribbon.</p></li>
  <li><p>From InfoPath, click the “DATA” tab and click “From SOAP Web Service” under “From Web Service”.</p></li>
  <li><p>In Data Connection Wizard, type: http://&lt; Site Name>/_vti_bin/UserProfileService.asmx, then click “Next”.</p></li>
  <li><p>Select “GetUserProfileByName” from the operation list and click “Next”, then click “Finish”.</p></li>
  <li><p>In InfoPath Design, under “Fields”, select “Show advanced view”.</p></li>
  <li><p>Click “DATA” tab, click “Form Load” from the Ribbon to display “Rules” window.</p></li>
  <li><p>In “Rules” window, click “New”, select “Action”, add some specific “Details for” and “Condition”.</p></li>
  <li><p>Publish the new form to the SharePoint list and test it in your environment.</p></li>
  </ol>
  
  <p><strong>This can I see</strong></p>
  
  <p><img src="https://i.stack.imgur.com/z8mCD.png" alt="enter image description here"></p>