function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Detect and prevent the "Change Password"

As a safeguard to inadvertant changes to a user account used by various integration jobs, was wondering if it would be possible to detect and stop the "Change Password" capability on that account.


I thought since the "Change Password" seems to update the "Last Modified" Datestamp, I could do this easily with a validation rule, but this doesn't work.







Are you referring to the password of users of a salesforce org?

If that is the case a simpler solution would be to change the password policy from the setup area.

Under Security controls , you can choose the option of the setting the option to "never expire" for password.

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.





No, you can't prevent users from being able to set their own passwords unless you switch to using delegated auth.


Are you concerned about the jobs changing the integration user itself or other users (for other users, you should be able to give the integration user a profile that doesn't include the manager users permission)