title: Authenticating SQL connection using AD login details outside the domain
body: <p>I am trying to connect to a SQL server from outside the domain.</p>
  
  <p>I have the following connection string:</p>
  
  <pre><code>SqlConnection("SERVER=Server;DATABASE=Database;User ID=Domain\User;Password=password");
  </code></pre>
  
  <p>When I try to use this outside the domain this will fail as it tries to log in using SQL authentication.</p>
  
  <p>Is there any way to pass a command into the string to use Active Directory authentication.</p>
  
  <p>What other ways would there be to connect to a SQL server, using active directory details outside of the domain?</p>