Server-side API
This section describes server-side APIs that can be used in formulas, formula fields, triggers, Custom Methods, and other server-side script contexts. See the heading topic for each set of APIs to see where they can be used.
Access control permissions
Server-side API methods that create, update, or delete records, including rbv_api.createRecord(),
rbv_api.updateRecord(), and rbv_api.deleteRecord(), do not perform their own object-level
Create, Edit, or Delete
permission checks. Calls made from server-side scripts execute in the Server API role
context, which has all administrator permissions. These API calls do not enforce the initiating user's object-level
permissions.
This behavior applies when these methods are called from formulas, formula fields, triggers, Custom Methods, and other server-side script contexts. If a script must restrict an operation based on a user's permissions, add an explicit authorization check in the script before calling the API. The Server API role is also used for bulk jobs and delayed triggers, which run without a user context.
For more information about security and access permissions, see Security and access control.