How to prevent password reset email from being sent when creating new user in API. Basically I'll be provisioning users via the API but because they are logging in via SSO, I don't want to send them a welcome email? How can I programatically prevent the password reset email from being sent?

Thanks BY

1 Answer 1


I believe you want the DMLOption for triggerUserEmail.

From the documentation:

This email can be automatically triggered by a number of events; resetting a password, creating a new user, or creating or modifying a task.

So, if you set this to false the email shouldn't go out.

The same option is also available in the Partner API via the EmailHeader Soap Header.

You must log in to answer this question.

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