SQL Server SYSTEM_USER Function

Return the login name information for the current user

Definition and Usage

The SYSTEM_USER function returns the login name for the current user.

Syntax

SYSTEM_USER

Technical Details

Works in: SQL Server (starting with 2008), Azure SQL Data Warehouse, Parallel Data Warehouse