...
Code Block | ||||
---|---|---|---|---|
| ||||
public AuthServerResponse ChangeUserPassword(string authServerPartnerLoginName,
string authServerPartnerLoginPassword,
string pw,
string rid,
string mid,
string fromEmailName,
string fromEmailAddress,
string emailSubject,
string emailBody,
boolean html)
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerResponseresp = ChangeUserPassword("accountLogin",
"accountKey",
"tinyD4nc3r",
"rid",
"mid",
"Mandy",
"mandy@example.com",
"Recover Password",
"Let us help you recover your password.",
false); |
...
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId account login name |
spAccountLoginKey | string | SurePassId account login key |
username | string | user account login name |
type | string | change_user_password |
pw | string | User account password |
rid | string | rid |
mid | string | mid |
fromEmailName | string | Name of sender of password recovery email |
fromEmailAddress | string | Address of sender of password recovery email |
emailSubject | string | Subject of password recovery email |
emailBody | string | Body of password recovery email |
html | boolean | Whether password recovery email is HTML formatted |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{
"username": "{{username}}",
"spAccountLoginName": "{{spAccountLoginName}}",
"spAccountLoginKey": "{{spAccountLoginKey}}",
"type": "change_user_password",
"pw": "tinyD4nc3r",
"rid": "rid",
"mid": "mid",
"fromEmailName": "John Denver",
"fromEmailAddress": "john.denver@example.com",
"emailSubject": "Resetting your password",
"emailBody": "Let us help you reset your password.",
"html": 1
} |
...