Home > APEX_UTIL > EDIT_USER Procedure
This procedure enables a user account record to be altered. To execute this procedure, the current user must have administrative privileges in the workspace.
Syntax
EDIT_USER (
p_user_id NUMBER IN,
p_user_name VARCHAR2 IN,
p_first_name VARCHAR2 IN DEFAULT NULL,
p_last_name VARCHAR2 IN DEFAULT NULL,
p_web_password VARCHAR2 IN DEFAULT NULL,
p_new_password VARCHAR2 IN DEFAULT NULL,
p_email_address VARCHAR2 IN DEFAULT NULL,
p_start_date VARCHAR2 IN DEFAULT NULL,
p_end_date VARCHAR2 IN DEFAULT NULL,
p_employee_id VARCHAR2 IN DEFAULT NULL,
p_allow_access_to_schemas VARCHAR2 IN DEFAULT NULL,
p_person_type VARCHAR2 IN DEFAULT NULL,
p_default_schema VARCHAR2 IN DEFAULT NULL,
p_group_idS VARCHAR2 IN DEFAULT NULL,
p_developer_roles VARCHAR2 IN DEFAULT NULL,
p_description VARCHAR2 IN DEFAULT NULL,
p_account_expiry DATE IN DEFAULT NULL,
p_account_locked VARCHAR2 IN DEFAULT 'N',
p_failed_access_attempts NUMBER IN DEFAULT 0,
p_change_password_on_first_use VARCHAR2 IN DEFAULT 'Y',
p_first_password_use_occurred VARCHAR2 IN DEFAULT 'N');
Parameters
Table: EDIT_USER Parameters describes the parameters available in the EDIT_USER procedure.
EDIT_USER Parameters
| Parameter | Description |
|---|---|
|
|
Numeric primary key of the user account |
|
|
Alphanumeric name used for login |
|
|
Informational |
|
|
Informational |
|
|
Clear text password |
|
|
Unused |
|
|
Unused |
|
|
Unused |
|
|
A list of schemas assigned to the user's workspace to which the user is restricted |
|
|
Unused |
|
|
A database schema assigned to the user's workspace, used by default for browsing |
|
|
Colon-separated list of numeric group IDs |
|
|
Colon-separated list of developer privileges (only ADMIN: has meaning to Oracle Application Express) |
|
|
Informational |
|
|
Date password was last updated. |
|
|
'Y' or 'N' indicating if account is locked or unlocked. |
|
|
Number of consecutive login failures that have occurred. |
|
|
'Y' or 'N' to indicate whether password must be changed on first use. |
|
|
'Y' or 'N' to indicate whether login has occurred since password change |