Newer Version Available
RestrictionRule (Beta)
Supported SOAP API Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Supported REST API Methods
DELETE, GET, HEAD, PATCH, POST, Query
Special Access Rules
To enable restriction rules, contact Salesforce Customer Support. Only users with the Manage Sharing permission can create restriction rules.
Fields
| Field | Details |
|---|---|
| Description |
|
| DeveloperName |
|
| EnforcementType |
|
| FullName |
|
| IsActive |
|
| Language |
|
| MasterLabel |
|
| Metadata |
|
| RecordFilter |
|
| TargetEntity |
|
| UserCriteria |
|
| Version |
|
Usage
You can create up to two restriction rules per object in Enterprise and Developer Editions and up to five restriction rules per object in Performance and Unlimited Editions.
Create only one restriction rule per object per user. In other words, for a given object, only one restriction rule at most should have the UserCriteria field evaluate to true for a given user.
For more information on restriction rules, see the Restriction Rules Developer Guide (Beta).