SetUserPassword
To set a user's password by admin if the option is enabled in the Account. Admins and agents can also use this Stored Procedure to change their own password.
Stored Procedure Specific Information
Zendesk allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. Allowed for Admins.
For example:
EXECUTE SetUserPassword UserId = '10478872117020', NewPassword = 'abcd@123'
Input
Name | Type | Required | Description |
UserId | Long | True | The id of the user. |
NewPassword | String | True | Password. |
Result Set Columns
Name | Type | Description |
Success | String | True if the password is set successfully. |