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

Owner of the inserted record

If I insert record through a controller from a visual force page and does not specify the owner id,

who would be the owner of the inserted record ? - The executing user? or the owner of the controller class?


Ron HessRon Hess

the user who is logged in, the executing user.


should be easy to test.