Newer Version Available

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

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.
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.

Tooling API

Metadata API

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.

Tooling API

Metadata API