Skip to content

Apex

Reset User's Password using DevConsole
User usr = [SELECT Id FROM User WHERE username = 'username'];
System.setPassword(usr.Id,'your_password');