My SQL Server use Windows authentication for logging in. I was wondering how I can give the right username password for this db in the connection string.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If using IWA no username or password should be required, the credentials used are the ones from the user executing the program and this is transparent to your program.
Your connection string has to specify that you intend to use IWA.
See here: http://msdn.microsoft.com/en-us/library/ms378428.aspx#Connectingintegrated