title: Provide user name and password for SQL Server trusted connection
body: <p>Using SQL Server 2014, we have a domain user added to the SQL Server CompanyName / UserName, and an app in C# which uses trusted connection to connect to the database.</p>
  
  <p>Now when running in a domain environment, this works fine however when I run on my local machine it does not work which is not part of the domain but has access to SQL Server.</p>
  
  <p>I've added a SQL Server user which requires a username and password just to test I can connect to SQL Server, and this works fine from my local machine (so I can connect to the server).</p>
  
  <p>My question: is it possible to connect to SQL Server with the domains credentials from my local machine in my C# app? (i.e provide the user name and password of my domain through my local machine). </p>
  
  <p>What cannot be done. Adding a SQL Server user with user name and password. Adding the local machines credentials to SQL Server. I have to use the domains user name and password. </p>