Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve NT user from SQL Server

Status
Not open for further replies.

kim1

Programmer
Nov 7, 2001
77
0
0
CA
Hi,

Is it possible to retrieve my NT Username of my Window NT when I connect with a SQL Login in SQL Server?

Thanks for your help.

Kim Kim
 
No, SUSER_SNAME() gives the database username.

Thanks anyway.

Kim Kim
 
Neither,

I tried it, it is always the database login name or user name, not NT user logged into Window NT.

Thanks.

Kim Kim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top