Usage
sf_reset_password(user_id, control = list(...), ..., verbose = FALSE)
Arguments
- user_id
character
; the unique Salesforce Id assigned to the User- control
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 forsf_control
.- ...
arguments passed to
sf_control
- verbose
logical
; an indicator of whether to print additional detail for each API call, which is useful for debugging. More specifically, when set toTRUE
the URL, header, and body will be printed for each request, along with additional diagnostic information where available.
Examples
if (FALSE) { # \dontrun{
# 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))
} # }