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

Update User license and profiel of a user using SOQL or Apex.?

Hello Guys,



Can any bosy please help me to solve the issue of updating User LIcense field and Profile field in user object using SOQL or Apex. I don't want to do it manually coz of 10k of records.  I Searched alot on this and didn;t find any thing. I am stuck on it and it sucks.


So can anybody please help me.