SysSendPasswordResetEmailAdvanced
Reset users password using templates.
Service | Operation |
---|---|
user | SYS_SEND_PASSWORD_RESET_EMAIL_ADVANCED |
Method Parameters
Parameter | Description |
---|---|
profileId | Profile Id of the target user to reset password |
serviceParams | Set of parameters dependant on the mail service configured |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var userProxy = bridge.getUserServiceProxy();
var serviceParams = {
"templateId": "template-id-guid",
"dynamicData": {
"aKey": "aValue"
},
"categories": [
"category1",
"category2"
]
};
var postResult = userProxy.sysSendPasswordResetEmailAdvanced(
"aaa-bbb-ccc-ddd", // profileId
serviceParams); // template Id and any subst parameters
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}