48.90 IS_USERNAME_UNIQUE Function
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 48-74 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 is returned, otherwise TRUE is returned.
DECLARE
VAL BOOLEAN;
BEGIN
VAL := APEX_UTIL.IS_USERNAME_UNIQUE(
p_username=>'FRANK');
END;
Parent topic: APEX_UTIL