Loading
Ongoing maintenance for Salesforce HelpRead More
Feature degradation | Gmail Email delivery failureRead More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Apply Security Predicates to Your Datasets

          Apply Security Predicates to Your Datasets

          If you want to restrict users’ access to data based on their hierarchical role or Manager Id, apply security predicates to the relevant datasets.

          Required Editions

          Available for an extra charge in Professional, Performance, and Unlimited editions that have Financial Services Cloud for Insurance enabled.
          1. In CRM Analytics Studio, click Gear Icon and select Data Manager.
          2. Select Data.
          3. Under Datasets, look for the dataset you want to apply predicates to, and click Dropdown Icon.
          4. Select Edit Dataset.
          5. Under Security Predicate, click Edit Icon
          6. In the text box, enter either of these strings:
            • To apply User Role Hierarchy to the dataset, enter
              'OwnerId' == "$User.Id" || 'Owner.Role.Roles' == "$User.UserRoleId"
            • To apply User Manager Hierarchy to the dataset, enter
              'Owner.Managers' == "$User.Id"

          If you want to retrain the predictive scoring model, remove the security predicates, update your story, and deploy your new model. If you retrain your model without removing the security predicates, the model is trained only with the data the user can access.

           
          Loading
          Salesforce Help | Article