USERNAME

Description

Returns the logged in user name for a connection.

Syntax

USERNAME ( "connection" )

Parameter Description
connection The name of the connection for which to return the user name.

Remarks

This function returns a value only when the connection process prompts a logon. If the logon parameters are stored in the data source configuration, then this function returns an empty string.

See also

DBNAME