58.44 GET_CURRENT_USER_ID Function
This function returns the numeric user ID of the current user.
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_CURRENT_USER_ID
RETURN NUMBER;
Parameters
None.
Example
This following example shows how to use the GET_CURRENT_USER_ID
function. It returns the numeric user ID of the current user into a local variable.
DECLARE
VAL NUMBER;
BEGIN
VAL := APEX_UTIL.GET_CURRENT_USER_ID;
END;
Parent topic: APEX_UTIL