This content describes an older version of this product.
View Latest
Metadata API Reference (Beta)
This section provides more information on the RestrictionRule Metadata API type used to
create scoping rules.
Available in: Lightning Experience in Performance and Unlimited
editions.
RestrictionRule (Beta)
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 type extends the Metadata metadata type and inherits its fullName field.