🔹 Join the OracleApps88 Telegram Group - Stay up to date with the latest on Oracle EBS R12 and Oracle Cloud/Fusion Applications. 📌 Telegram Group : https://t.me/OracleApps88

💡 Facing issues copying code/scripts or viewing posts? We're here to help!
📬 Contact on Telegram : https://t.me/apps88
📱 Telegram/WhatsApp: +91 905 957 4321
📧 Email Support: OracleApp88@Yahoo.com

Tuesday, October 22, 2013

Changing Password for an Oracle Applications User in R12 Oracle Apps using API


-- FND_USER_PKG.CHANGEPASSWORD

This article helps in changing the password for Oracle user using API FND_USER_PKG.CHANGEPASSWORD.

This API is tested in R12.1.3

DECLARE
   v_user_name      VARCHAR2 (100) := 'OPERATIONS';
   v_new_password   VARCHAR2 (100) := :NEWPASSWORD;
   v_status         BOOLEAN        := NULL;
BEGIN

   v_status := fnd_user_pkg.changepassword (v_user_name, v_new_password);
   COMMIT;
 
   DBMS_OUTPUT.put_line ( 'Password is changed successfully for the user '|| v_user_name);
EXCEPTION
   WHEN OTHERS
   THEN
      DBMS_OUTPUT.put_line('Error encountered while setting new password to the user and the error is '|| SQLERRM);
END;

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect