PL-SQL code to reset application user password
Oracle apps Reset application user password from backend
-- DECLARE v_user_name VARCHAR2 (30) := UPPER ('AMOL'); v_new_password VARCHAR2 (30) := 'welcome1'; v_status BOOLEAN; BEGIN v_status := fnd_user_pkg.ChangePassword (username => v_user_name, newpassword => v_new_password); IF v_status = TRUE THEN DBMS_OUTPUT.put_line ( 'The password reset successfully for the User:' || v_user_name); COMMIT; ELSE DBMS_OUTPUT.put_line ( 'Unable to reset password due to' || SQLCODE || ' ' || SUBSTR (SQLERRM, 1, 100)); ROLLBACK; END IF; END; /
For more reusable queries, click https://tech7.in/category/technologyblog/oracle/
Related posts:
- Register a test concurrent program from backend in Oracle EBS
- Supervisor Hierarchy and Approval Limits in Oracle EBS R12
- Query to find vacation rules in Oracle R12
- View java class source in oracle database
- Load Java source code in oracle database
- Query to find all APIs of Oracle Apps modules
- OAF customizations queries
- Oracle apps list of concurrent programs in a Request Set
- Query to get Organization Hierarchy in Oracle apps
- Oracle apps query to find incompatible programs blocking a concurrent request
- Form function attached to which responsibility and user
- Query to find the responsibility attached to user in oracle apps
- How to enable debug log in Oracle apps EBS
- How to add AME role and responsibility to user
- Oracle form attached to which responsibility
- SQL query to get MIME type for file extension
- Query to get concurrent program and executable details
- Query to get responsibility level profile option values
- Query to validate migration of XML/BI Publisher Template and Data Definition
- Query to get details of XML/BI Publisher Template and Data Definition
- Query to get Site level and Organization level Profile Option Value
- PL-SQL code to reset application user password
- PL-SQL Procedure to send email with attachment
- PL-SQL to delete Concurrent Program and Executable
- Query to get the details of the lock in the database
- PL-SQL code to delete XML/BI Publisher template and Data Definition
- Query to find Form Personalization
- Query to find profile option values
- Query to get details of concurrent program parameters
- PL-SQL Code to find Menu Hierarchy of a responsibility
- Query to find details of Flex value sets
- Query to find concurrent program Responsibility and Request Group
- Concurrent program SQL statement currently running in background
- Query to find scheduled concurrent programs
- Query to kill database session for a concurrent request
- Query to get DFF (Descriptive Flex Field) Details