USER_NAME « User Role « SQL Server / T-SQL Tutorial






28.13.USER_NAME
28.13.1.USER_NAME Function returns the name of user logged into the database. The syntax for the USER_NAME function is as follows: