Monday 26 September 2016

Script to reset User password in Oracle Applications

Script to reset user password in oracle applications

We can use the in build API to reset the user password from backend.

API: fnd_user_pkg.changepassword this API accepts two parameters one is USER NAME and other is New Password.

Below is the anonymous block to reset password.

SET SERVEROUTPUT ON;
DECLARE
      flag BOOLEAN;
BEGIN
      flag := fnd_user_pkg.changepassword(username=> 'JHON123'
                                          ,newpassword => 'Monday123');
    IF flag
     THEN
           DBMS_OUTPUT.PUT_LINE('Your Password has been successfully reset');
     ELSE
           DBMS_OUTPUT.PUT_LINE('Password reset has failed');
     END IF;
END;
/
COMMIT;

Below are the screenshots for your reference.


2 comments:

  1. Informative Post... Keep it up....!!!

    If you want to recover yahoo email account you can contact us on our Yahoo Customer Care Number UK OR Yahoo Helpline Number anytime without any effort.

    ReplyDelete
  2. Thanks for sharing this blog. The content is beneficial and useful. Very informative post. Visit here to learn more about Data Warehousing companies and Data analytics Companies. I am impressed by the information that you have on this blog. Thanks once more for all the details.Visit here for Top Big Data Companies.

    ReplyDelete