function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
List<User> userList = new List<User>();
userList = [SELECT Id from User WHERE username like 'Test.User%' and isActive = TRUE];
for (User u : userList)
{
System.setPassword(u.Id, '***********');
}
Please refer also below link -
https://help.salesforce.com/s/articleView?id=000322720&type=1
I hope you find the above solution helpful. If it does, please mark it as the Best Answer to help others too.
Thanks and Regards,
Suraj Tripathi