D
D
Dmitry2018-07-31 08:11:46
SQL Server
Dmitry, 2018-07-31 08:11:46

How to connect to 2 DBs under different users (on SQL only windows authentication)?

I have a Laravel 5.6 PHP 7.2 application running on an IIS 7.5 server. AD authorization works. How can the user execute a query to the MSSQL database with Windows authentication if there is 1 account (for executing queries, something like a service account).
Probably easier on the example of the
user ordinary \ Ivanovvv under him the application
user service \ Petrovaa runs under him the execution of queries to the database
as a normal \ Ivanovvv can connect to the database using the data of the service \ Petrovaa?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-07-31
@klim76

RMC -> "Run as..."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question