Reset Passwords Using Dev Console

1. Open Developer Console

2. Click the Debug dropdown menu and select the Open Execute Anonymous Window

3. Enter the following to manually set a new password for a user:

User usr = [select Id from User where username='ENTER_USERNAME_HERE'];
System.setPassword(usr.Id,'ENTER_NEW_PASSWORD_HERE');


Revision #1
Created 2019-10-30 16:46:16 UTC by Justin Mitchell
Updated 2019-10-30 16:48:31 UTC by Justin Mitchell