USER Function | Teradata Vantage - 17.10 - USER - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
SQL_Functions__Expressions__and_Predicates.Upload_071421/djk1612415574830.ditamap
dita:ditavalPath
SQL_Functions__Expressions__and_Predicates.Upload_071421/wrg1590696035526.ditaval
dita:id
kby1472250656485

Provides the session user name.

IF the session logon is … THEN …
not directory-based the result value is the session user name.
directory-based If the session maps to a permanent table, the result value is the name of the permanent user.

If the session does not map to a permanent user, the result value is the authcid of the external user.