58.51 GET_FIRST_NAME Function

This function returns the FIRST_NAME field stored in the named user account record.

Note:

This function operates on the native Oracle APEX user accounts repository and is only applicable to applications configured with Oracle APEX Accounts authentication.

Syntax

APEX_UTIL.GET_FIRST_NAME (
    p_username IN VARCHAR2 )
RETURN VARCHAR2;

Parameters

Parameter Description
p_username Identifies the user name in the account.

Example

The following example shows how to use the GET_FIRST_NAME function to return the FIRST_NAME of the user 'FRANK'.

DECLARE
    VAL VARCHAR2(255);
BEGIN
    VAL := APEX_UTIL.GET_FIRST_NAME(p_username => 'FRANK');
END;