keskiviikko 7. toukokuuta 2014

SQL server - Trusted connection, Integrated Security

"Integrated Security" or "Trusted_Connection"

When false, User ID and Password are specified in the connection. When true, the current Windows account credentials are used for authentication.

Recognized values are true, false, yes, no, and sspi (strongly recommended), which is equivalent to true.

If User ID and Password are specified and Integrated Security is set to true, the User ID and Password will be ignored and Integrated Security will be used.


Suomeksi: 
Jos Windows authentication on käytössä SQL serverillä, niin connection stringissä täytyy määrittää Trusted_Connection = True.

Ei kommentteja:

Lähetä kommentti