sf_reset_password(user_id, control = list(...), ..., verbose = FALSE)
character
; the unique Salesforce Id assigned to the User
list
; a list of parameters for controlling the behavior of
the API call being used. For more information of what parameters are available
look at the documentation for sf_control
.
arguments passed to sf_control
logical
; an indicator of whether to print additional
detail for each API call, which is useful for debugging. More specifically, when
set to TRUE
the URL, header, and body will be printed for each request,
along with additional diagnostic information where available.
list
if (FALSE) {
# reset a user's password and ensure that an email is triggered to them
sf_reset_password(user_id = "0056A000000ZZZaaBBB",
EmailHeader = list(triggerAutoResponseEmail = FALSE,
triggerOtherEmail = FALSE,
triggerUserEmail = TRUE))
}