GET_CURRENT_USER_NAME¶

Applies to: ORAFlex SQLFlex MYSQLFlex PGFlex DB2Flex

This command is used to get the name of the user currently logged into the server.

Syntax

GET_CURRENT_USER_NAME of {server} to {variable}

Parameter

Description

server

The name of the server the user is in

variable

Variable to hold the username

Example

GET_CURRENT_USER_NAME of "localhost" to sUserName