© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
K. KapitanovSalesforce Developer I CertificationCertification Study Companion Serieshttps://doi.org/10.1007/979-8-8688-0300-0_8

8. Access Control and Permissions

Konstantin Kapitanov1  
(1)
Borås, Sweden
 

8.1 Execution Context

In Apex, there are two types of execution contexts such as system execution context and user execution context. User execution context is when a user clicks a button or link, for example, that executes Apex code. When a system event or process executes Apex code, a system execution context is created. Apex does not enforce object-level and field-level permissions in system mode by default, but the new AccessLevel class represents the two ...

Get Salesforce Developer I Certification: Learn the Basics of Apex, Lightning Web Components, and Flow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.