Provide User Access With Multiple String or ID Values in Record Criteria

This restriction rule allows active users to see records whose Name__c field matches the rule’s record criteria value. The record criteria contains strings separated by a comma. ID values are also supported. Double-quotes specify that the value inside the quotes isn’t considered a delimiter.

Required Editions
Available in: Lightning Experience in Enterprise, Performance, Unlimited, and Developer Editions

This rule uses a custom object called Agent__c with a custom text field called Name__c.

This restriction rule allows active users to see records owned by two different managers. In this example, the rule’s record criteria contains IDs separated by a comma.