1

I am setting a password of an existing user, is it possible that setting this password will reset the security token as well ?

1

Yes, Chirag. I confirm that setting password with system.setPassword() does change the security token and also send it to the user through Email, I have tried it.

| improve this answer | |
-1

Yes it does. If you are trying to use setPassword() with an API user, consider creating a custom API profile with the "Password Never Expires" permission turned on.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.