title: SQL Connection String Using a Domain User?
body: <p>Previously for all our asp.net applications we have been using a sysadmin user within SQL Server to connect and add/update/delete/get data. Our SQL Admin wants to delete that account and create a Domain Account so we can use that account within our .net applications.</p>
  <p>My current connection string is:</p>
  <pre><code>name=&quot;name&quot; connectionString=&quot;Data Source=server;Initial Catalog=database;Persist Security Info=True;User ID=user;Password=password&quot; providerName=&quot;System.Data.SqlClient&quot;
  </code></pre>
  <p>What would the connection string be for using a domain account?</p>
  <p>I tried:</p>
  <pre><code>name=&quot;name&quot; connectionString=&quot;Data Source=server;Initial Catalog=database;Persist Security Info=True;User ID=domain\user;Password=password&quot; providerName=&quot;System.Data.SqlClient&quot;
  </code></pre>
  <p>and it does not work.</p>
  <p>Is there a different way to connect to SQL Server using a domain account?</p>