Can I have a DF application connect to MSSQL Server using windows credentials for a user who is NOT the current user?

Passing a set of SQL credentials is what we normally do, but if you add an SQL connection into Excel, you can also pass in the credentials of a different windows user and fetch data as if you were them.

How can I replicate this?

MM