title: How to change user of windows authentication connection string in C#
body: <p>When I want to connect to SQL Server 2008 via SSMS in windows authentication mode I get the following error:</p>
  
  <pre><code>login failed for user UserDomainName\UserName
  </code></pre>
  
  <p>I installed my SQL Server in mix mode and set user to NT Authority\system , how can I create a connection string with "UserDomainName\UserName" user not with "NT Authority\system" user in C#?</p>