Home > APEX_UTIL > FETCH_USER Procedure
This procedure fetches a user account record. To execute this procedure, the current user must have administrative privileges in the workspace. Three overloaded versions of this procedure exist, each with a distinct set of allowed parameters or signatures.
Fetch_user Procedure Signature 1:
Syntax
FETCH_USER ( p_user_id NUMBER IN, p_workspace VARCHAR2 OUT, p_user_name VARCHAR2 OUT, p_first_name VARCHAR2 OUT, p_last_name VARCHAR2 OUT, p_web_password VARCHAR2 OUT, p_email_address VARCHAR2 OUT, p_start_date VARCHAR2 OUT, p_end_date VARCHAR2 OUT, p_employee_id VARCHAR2 OUT, p_allow_access_to_schemas VARCHAR2 OUT, p_person_type VARCHAR2 OUT, p_default_schema VARCHAR2 OUT, p_groups VARCHAR2 OUT, p_developer_role VARCHAR2 OUT, p_description VARCHAR2 OUT );
Parameters
Table: Fetch_User Parameters Signature 1 describes the parameters available in the FETCH_USER
procedure.
Fetch_User Parameters Signature 1
Parameter | Description |
---|---|
|
Numeric primary key of the user account |
|
The name of the workspace |
|
Alphanumeric name used for login |
|
Informational |
|
Informational |
|
Obfuscated account password |
|
Email address |
|
Unused |
|
Unused |
|
Unused |
|
A list of schemas assigned to the user's workspace to which user is restricted |
|
Unused |
|
A database schema assigned to the user's workspace, used by default for browsing |
|
List of groups of which user is a member |
|
Unused |
|
Informational |
Fetch_user Procedure Signature 2:
Syntax
FETCH_USER ( p_user_id NUMBER IN, p_workspace VARCHAR2 OUT, p_user_name VARCHAR2 OUT, p_first_name VARCHAR2 OUT, p_last_name VARCHAR2 OUT, p_email_address VARCHAR2 OUT, p_groups VARCHAR2 OUT, p_developer_role VARCHAR2 OUT, p_description VARCHAR2 OUT );
Parameters
Table: Fetch_User Parameters Signature 2 describes the parameters available in the FETCH_USER
procedure.
Fetch_User Parameters Signature 2
Parameter | Description |
---|---|
|
Numeric primary key of the user account |
|
Alphanumeric name used for login |
|
Informational |
|
Informational |
|
Obfuscated account password |
|
Email address |
|
List of groups of which user is a member |
|
Unused |
|
Informational |
FETCH_USER Procedure Signature 3
Syntax
FETCH_USER ( p_user_id NUMBER IN, p_workspace VARCHAR2 OUT, p_user_name VARCHAR2 OUT, p_first_name VARCHAR2 OUT, p_last_name VARCHAR2 OUT, p_web_password VARCHAR2 OUT, p_email_address VARCHAR2 OUT, p_start_date VARCHAR2 OUT, p_end_date VARCHAR2 OUT, p_employee_id VARCHAR2 OUT, p_allow_access_to_schemas VARCHAR2 OUT, p_person_type VARCHAR2 OUT, p_default_schema VARCHAR2 OUT, p_groups VARCHAR2 OUT, p_developer_role VARCHAR2 OUT, p_account_expiry DATE OUT, p_account_locked VARCHAR2 OUT, p_change_password_on_first_use VARCHAR2 OUT, p_first_password_use_occurred VARCHAR2 OUT);
Parameters
Table: Fetch_User Parameters Signature 3 describes the parameters available in the FETCH_USER
procedure.
Fetch_User Parameters Signature 3
Parameter | Description |
---|---|
|
Numeric primary key of the user account |
|
The name of the workspace |
|
Alphanumeric name used for login |
|
Informational |
|
Informational |
|
Obfuscated account password |
|
Email address |
|
Unused |
|
Unused |
|
Unused |
|
A list of schemas assigned to the user's workspace to which user is restricted |
|
Unused |
|
A database schema assigned to the user's workspace, used by default for browsing |
|
List of groups of which user is a member |
|
Unused |
|
Informational |
|
Date account password was last reset |
|
Locked/Unlocked indicator |
|
Counter for consecutive login failures |
|
Setting to force password change on first use |
|
Indicates whether login with password occurred |