Menu Close

Salesforce Set new user Password

Use the following code in the Developer Console to reset a user password without knowing the current password.

System.setPassword ([SELECT Id FROM User WHERE username=’ ‘].id, ‘ ‘);

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *