You need to sign in to do that
Don't have an account?
David Martinka
How to change user's email and generate a new password
Hi,
We have quite a large org with many users and thus we do user cleanup on a weekly basis. We always need to deactivate person's user, set profile and role to a proper one, change their email and reset password.
I am able to do almost everything by an apex script, but I'm still unable to change user's email address and afterwards generate a new password. Is there some trick how to do so?
Thanks,
David
We have quite a large org with many users and thus we do user cleanup on a weekly basis. We always need to deactivate person's user, set profile and role to a proper one, change their email and reset password.
I am able to do almost everything by an apex script, but I'm still unable to change user's email address and afterwards generate a new password. Is there some trick how to do so?
Thanks,
David
Raj Vakati
This is what is am suggesting ..
- First Change the email address and ask the user to accept the email address change. user will receive an link and ask him to click the link
- Reset the password after that