Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NT Username
Message
From
23/07/2004 08:43:12
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Security
Title:
NT Username
Miscellaneous
Thread ID:
00927328
Message ID:
00927328
Views:
39
Is there anyway to obtain the NT Username of for the current session irrespective of wether the have user has connected using trusted security of SQL security.

At the moment, I can only see the Current_User, system_user and session_user which returns the database login name. I need to know that real NT username that established the connection.

If not possible through SQL, can it be done using xp_cmdshell say?

Thanks in advance

Mace
Next
Reply
Map
View

Click here to load this message in the networking platform