Metadata API Reference
This section provides more information on the RestrictionRule Metadata API type used to create restriction rules.
| Required Editions |
|---|
| Available in: Lightning Experience in Enterprise, Performance, Unlimited, and Developer Editions |
The following list links to the RestrictionRule Metadata API type.
-
Represents a restriction rule or a scoping rule. A restriction rule has
enforcementTypeset toRestrictand controls the access that specified users have to designated records. A scoping rule hasenforcementTypeset toScopingand controls the default records that your users see without restricting access. This type extends the Metadata metadata type and inherits itsfullNamefield.