MSSQL node to be windows authentication mode

Dear all, is it possible with node-contrib-mssql node to be connected to an SQL server via Windows Authentication Mode? What I want is to not give any user and password on the node, but rather is, it automatically use the current login user of the PC. Is this possible?
Thank you, folks!

The node uses this npm module:

The module's readme suggests, that generally, it supports two different "drivers" to connect with the server, Tedious and a native driver from Microsoft. That native one seems to support Windows authentication. But neither the driver nor the authentication mode are exposed in the contrib node.

So the answer would be no.

Thanks for prompt answer my friend!


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.