SysSetPasswordUniversalId
Set the password associated with the universal id of the given profile.
Service | Operation |
---|---|
user | SYS_SET_PASSWORD_UNIVERSAL_ID |
Method Parameters
Parameter | Description |
---|---|
profileId | Profile ID of the target user to set password |
password | New password value |
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 postResult = userProxy.sysSetPasswordUniversalId(
"aaa-bbb-ccc-ddd", // profileId
"a-password" // new password
);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}
Common Error Code
Status Codes
Code | Name | Description |
---|---|---|
550022 | INVALID_PASSWORD_CONTENT | The password doesn't meet the minimum password requirements. |