Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SUSER_SNAME (Azure SQL Database)

Updated: November 21, 2014

This topic is OBSOLETE. You can find the most current version in the SQL 14 Transact-SQL Reference.

ImportantImportant
This topic is not maintained. For the current version, see SUSER_SNAME.

Returns the login name for the current security context.

Syntax Conventions (Azure SQL Database)


SUSER_SNAME () 

nvarchar(128)

Microsoft Microsoft Azure SQL Database does not support the server_user_sid parameter for SUSER_SNAME. It will always return the login name for the current security context.

For more information about the SUSER_SNAME statement, see SUSER_SNAME in SQL Server Books Online.

Show:
© 2015 Microsoft