USER_NAME
Returns a database user name from a specified identification number.
Syntax
USER_NAME ( [ id ] )
Arguments
id
Is the identification number associated with a database user. id is int. The parentheses are required.
Return types
nvarchar(256)
Example
SELECT USER_NAME(13);