If an APEX User is unlocked then follow below procedure to unlock the same
Check the status of an User:
SQL> select WORKSPACE_NAME,USER_NAME,ACCOUNT_LOCKED,DESCRIPTION from APEX_040200.apex_workspace_apex_users;
SQL> select DEFAULT_SCHEMA,LAST_FAILED_LOGIN,FAILED_ACCESS_ATTEMPTS,USER_NAME from APEX_040200.WWV_FLOW_FND_USER;
Steps to Unlock ADMIN user in the TEST Workspace
Login to SQL*Plus as the owner of the parsing schema if you are making modifications to a workspace.
As an alternative, you can login as SYS or SYSTEM and then do an alter session:
SQL> alter session set current_schema = TEST;
Run the following, which sets the workspace contect using a combination of apex_util.find_security_group_id ./ apex_util.set_security_group_idand issues the appropriate requests.
SQL> begin apex_util.set_security_group_id(p_security_group_id => apex_util.find_security_group_id('TEST')); apex_util.unlock_account(p_user_name => 'ADMIN'); commit; end; /
Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle APEX . Actually, I was looking for the same information on internet for
ReplyDeleteOracle Apex Interview Questions and Answers and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject.