function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GoForceGoGoForceGo 

Apex method for setPassword resetPassword

I am creating a new user using Apex.

I don't see any standard methods in Apex for setting password or resetting password.

The WSDL API seems to have these functions.

Any thoughts?



Chirag MehtaChirag Mehta

Try 

System.setPassword(u.id,passwordString); 

 

ankur kumar 79ankur kumar 79
How to use alarms in windows 10 windows alarms (http://alarmsinwindows10.com) it is very easy process.