Newer Version Available

This content describes an older version of this product. View Latest

Before You Start

Before you create the restriction rule, make sure you have the needed permissions and tools.
Available in: Lightning Experience in Enterprise, Performance, Unlimited, and Developer Editions

User Permissions Needed
To create and manage restriction rules: Manage Sharing
To view restriction rules: View Setup & Configuration AND View Restriction and Scoping Rules

Before creating restriction rules, we recommend that you Turn Off Salesforce Classic for Your Org. Salesforce can't guarantee that restriction rules work as intended for end users who are in the Salesforce Classic experience.

You can use either the Tooling or Metadata API to create, retrieve, update, and delete restriction rules. In this Quick Start, we show you how to use both.