Download Oracle Database Application Express User's Guide

Transcript
APEX_UTIL
END;
REMOVE_USER Procedure
This procedure removes the user account identified by the primary key or a user
name. To execute this procedure, the current user must have administrative privilege
in the workspace.
Syntax
APEX_UTIL.REMOVE_USER(
p_user_id
IN NUMBER,
p_user_name IN VARCHAR2);
Parameters
Table 15–54 describes the parameters available in the REMOVE_USER procedure.
Table 15–54
REMOVE_USER Parameters
Parameter
Description
p_user_id
The numeric primary key of the user account record
p_user_name
The user name of the user account
Example
BEGIN
APEX_UTIL.REMOVE_USER(p_user_id=>'99997');
END;
BEGIN
APEX_UTIL.REMOVE_USER(p_user_name => 'SCOTT');
END;
RESET_AUTHORIZATIONS Procedure
To increase performance, Oracle Application Express caches the results of
authorization schemes after they have been evaluated. You can use this procedure to
undo caching, requiring each authorization scheme be revalidated when it is next
encountered during page show or accept processing. You can use this procedure if you
want users to have the ability to change their responsibilities (their authorization
profile) within your application.
Syntax
APEX_UTIL.RESET_AUTHORIZATIONS;
Parameters
None.
Example
BEGIN
APEX_UTIL.RESET_AUTHORIZATIONS;
END;
Oracle Application Express APIs 15-35