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
LiamCoLiamCo 

Enforcing Object Permissions in Test Code using RunAs

Hi,

 

is it possible to use the runAs method to test the object permissions for a Profile in your test code ?

 

It doesn't seem to work for me.

 

thanks,

 

Liam