SUSER_NAME Function returns the name of the user logged into the server. : SUSER_NAME « System Settings « SQL Server / T-SQL Tutorial






3>
4> select SUSER_NAME()
5> GO

--------------------------------------------------------------------------------------------------------------------------------
J\Administrator

(1 rows affected)
1>








26.37.SUSER_NAME
26.37.1.SUSER_NAME Function returns the name of the user logged into the server.