You need to sign in to do that
Don't have an account?

How can I change an email address of an old deactivated user?
I am trying to change the email from a schedulable class for old users to purge their info from the system, a requirement of the client's to not show old employees information. I know you can manually change the email and click the checkbox saying: "Generate new password and notify user immediately" but if i change it through apex it doesn't change. Is there a way to enable that checkbox when updating a users info from apex? or a way that I can change the old user's email address without email confirmation or manual steps??
Thanks,
Thanks,
May I suggest you please refer the below link to reference.
- https://salesforce.stackexchange.com/questions/72578/change-user-email-address-without-notifying-olduser
- https://success.salesforce.com/answers?id=90630000000h0NeAAI
- https://success.salesforce.com/ideaView?id=08730000000l1EyAAI
hope it helps.Please mark it as best answer if the information is informative.
Thanks
Rahul Kumar