Newer Version Available
RestrictionRule
Represents a restriction rule or a scoping rule. A restriction rule has
EnforcementType set to Restrict and controls the access that specified users have to designated
records. A scoping rule has EnforcementType set to Scoping and controls the default records that your users
see without restricting access.
This object is available in API version 52.0 and later.
Supported SOAP API Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Supported REST API Methods
DELETE, GET, HEAD, PATCH, POST, Query
Special Access Rules
Only users with the View Restriction and Scoping Rules permission can view restriction rules and scoping rules via the API. Only users with the Manage Sharing permission can view, create, update, and delete restriction rules and scoping rules.
Fields
| Field | Details |
|---|---|
| Description |
|
| DeveloperName |
|
| EnforcementType |
|
| FullName |
|
| IsActive |
|
| Language |
|
| MasterLabel |
|
| Metadata |
|
| RecordFilter |
|
| TargetEntity |
|
| UserCriteria |
|
| Version |
|
Usage
For more information on restriction rules, see the Restriction Rules Developer Guide.