|  Previous |  Next | 
This function returns a Boolean result based on whether the named user account is unique in the workspace.
Syntax
APEX_UTIL.IS_USERNAME_UNIQUE(
    p_username IN VARCHAR2)
RETURN BOOLEAN;
Parameters
Table: IS_USERNAME_UNIQUE Parameters describes the parameters available in IS_USERNAME_UNIQUE function.
IS_USERNAME_UNIQUE Parameters
| Parameter | Description | 
|---|---|
| 
 | Identifies the user name to be tested | 
Example
The following example shows how to use the IS_USERNAME_UNIQUE function. If the user 'FRANK' already exists in the current workspace, FALSE will be returned, otherwise TRUE is returned.
DECLARE
    VAL BOOLEAN;
BEGIN
    VAL := APEX_UTIL.IS_USERNAME_UNIQUE(
        p_username=>'FRANK');
END;