DBExpress driver SQLserver in windows authentication mode

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
elmoh@S4B
Posts: 1
Joined: Wed 17 Oct 2018 09:13

DBExpress driver SQLserver in windows authentication mode

Post by elmoh@S4B » Wed 17 Oct 2018 09:30

Hi ,

I'm trying to connect to SQLServer in windows authentication.
Can I just leave empty User_Name= and Password=
in dbxconnection.ini file ?

Regards

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: DBExpress driver SQLserver in windows authentication mode

Post by Stellar » Tue 23 Oct 2018 08:24

Yes, you may not set a username and password. If User_Name parameter of the SQLConnection is not set (User_Name='') Windows Authentication connection mode is used.

Post Reply