Home Forums SQL Server 2005 Administering GET the windows or Operating System loginname using sql server 2005 RE: GET the windows or Operating System loginname using sql server 2005
Steve Jones - SSC Editor
SSC Guru
Points: 734444
More actions
April 19, 2010 at 8:10 am
#1153857
Sorry, I think I typed too many S's. Old habit from tracking machines too often.
suser_name() should return the security context.
http://msdn.microsoft.com/en-US/library/ms187934%28v=SQL.90%29.aspx