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.

  • 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 type extends the Metadata metadata type and inherits its fullName field.