security-set-user-password
Update Sitecore user passwords by specifying identity and new password, optionally requiring reset on next login or validating old password.
Instructions
Sets a new password for a Sitecore user.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identity | Yes | The identity of the user to update the password for (e.g. 'admin' or full path 'sitecore\admin') | |
| newPassword | Yes | The new password for the user | |
| resetPassword | No | If true, the user will be required to change password on next login | |
| oldPassword | No | The old password. If provided, it will be validated before setting the new password |