Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
title Method
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
languagec#
titleSample WCF C# Method
AuthServerResponseresp = ChangeUserPassword("accountLogin",
            "accountKey",
			"tinyD4nc3r",
	        "rid",
			"mid",
            "Mandy",
            "mandy@example.com",
            "Recover Password", 
			"Let us help you recover your password.",
            false);

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringchange_user_password
pwstringUser account password
ridstringrid
midstringmid
fromEmailNamestringName of sender of password recovery email
fromEmailAddressstringAddress of sender of password recovery email
emailSubjectstringSubject of password recovery email
emailBodystring

Body of password recovery email

htmlbooleanWhether password recovery email is HTML formatted

...

Code Block
languagejs
titleSample REST/Json Request
{
 "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
}

...