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
avtopi786avtopi786 

Apex Trigger force.com free license

Hi,

 

Have question around force.com user access.

 

Here is my question:

 

Are all trigger run under user context, meaning can I have user save a record on custom object which then calls the trigger setup on custom object access standard object ?

 

I understand that force.com free license can have access to only custom object, but can I have trigger that run on custom object insert event call standard object

 

 

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

According to the docs, triggers run in system mode, meaning " the current user's profile-based permissions, field-level security, and sharing rules are not taken into account during code execution.".

 

So it sounds like you should be able to update a standard object.  Certainly you can do this with an unauthenticated web user, so I'd expect it to work for a free force.com user.