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
wsmithwsmith 

Any idea how to create test users in Apex and modify their fields where preferences are kept

Any idea how to create test users in Apex and modify their fields where preferences are kept

Since Summer08 the ability to modify users in unit test methods was removed.