2

I've got a lot of user and I've to reset their passwords.

How can I reset their passwords in mass?

Can I do it with "Jitterbit" or "Data Loader"?

2 Answers 2

1

You can't reset password using Data loader or Jitterbit.One way is to create a list view under Users and then select the users and then click on Reset Password button or look into to this app exchange product

enter image description here

0

You could do it by way of Apex. Here's how to reset one user to a specific password value:

List<User> ul;
...
ul = [Select ID, Username From User Where username=:username];

if ( ! ul.isEmpty() ) {
    User u = ul.get(0);
    System.setPassword(u.ID,password);
    ...

This could be done for more than one user by creating a Select statement that picks out the ones you want to update (and adding a for loop).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .