42.72 GET_USERNAME Function
This function returns the user name of a user account identified by a numeric ID.
Syntax
APEX_UTIL.GET_USERNAME(
    p_userid IN NUMBER)
RETURN VARCHAR2;Parameters
Table 42-63 GET_USERNAME Parameters
| Parameter | Description | 
|---|---|
| 
 | Identifies the numeric ID of a user account in the workspace. | 
Example
The following example shows how to use the GET_USERNAME function to return the user name for the user with an ID of 228922003.
                  
DECLARE
    VAL VARCHAR2(100);
BEGIN
    VAL := APEX_UTIL.GET_USERNAME(p_userid => 228922003);
END;
See Also:
Parent topic: APEX_UTIL