APPX Software Library

Chapter 4: SQL Language Elements

4.9.2.99 USER_NAME function (extension)

Syntax

USER_NAME ( [user_id] )

Description

The scalar function USER_NAME returns the user login name for the user_id specified in the input argument. If no user_id is specified, USER_NAME returns the name of the current user.

The scalar function USER_NAME is identical to SUSER_NAME.