16.20 - getUserName() - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)

This method is deprecated because it truncates object names to 30 characters. However, it remains available to support legacy applications. For current and future development, use the corresponding method that includes "EON" in its name. For example, use getUserName_EON() instead of getUserName().

Returns a maximum of 30 characters specifying the current user name. Use instead getUserName_EON() for a longer name. The string is encoded according to the server character set that the UDF or external stored procedure was defined to expect and produce.