GET_USER_ID Function

This function returns the numeric ID of a named user in the workspace.

Syntax

APEX_UTIL.GET_USER_ID(
   p_username)
RETURN VARCHAR2;

Parameters

Table: GET_USER_ID Parameters describes the parameters available in GET_USER_ID function.

GET_USER_ID Parameters

Parameter Description

p_username

Identifies the name of a user in the workspace


Example

DECLARE VAL NUMBER;
BEGIN  VAL := APEX_UTIL.GET_USER_ID(p_username => 'Managers');
END;