17.10 - getUserName() [Deprecated] - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
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.