Can i add user id to the connection string below? Caz i dont want to use the credential of the user that are login in windows.
"Persist Security Info=False; Integrated Security=true;Initial Catalog=pcma_db; Server=int-sql05\\int_sql05; username:pedro";

Sachin SinghRank #66 · 26.2K reputationPosted Oct 19, 2021, 12:21 AM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Oct 19, 2021, 8:18 AM EDT
jefferson conde13 reputationPosted Oct 19, 2021, 1:14 AM EDT
can i use application account instead of windows account in SQL windows auth?
the problem is i want to use login form from the web app to connect to SQL server using SQL authentication for auditing porpuses.
but every time a new user need to be added to aapplication i also need to add that user to database which is added task for me
thanks again
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 19, 2021, 1:45 AM EDT
Satya KarkiRank #78 · 24.6K reputationPosted Oct 19, 2021, 8:41 AM EDT