1

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

0

2 Answers 2

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.

-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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .