You need to sign in to do that
Don't have an account?
Gary Payne 9
Can user passwords be reset without sending the email notification?
We want our users to click their SSO link to login instead of their usual Salesforce.com login. IT has requested to rest the users' passwords but not to send them the email notification to reset their password. Any ideas on how this can be done?
System.resetPassword(<UserId>, false);
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_user_password.htm
Open the Developer console, under debug --> open execute anonymous window
List<Ids> resetUserids = new List<String>{'userid1', 'userId2'.............};
for(Id u : resetUserids)
{
System.setpassword( u, 'desiered password');
}
hit execute