官术网_书友最值得收藏!

Apex managed sharing

When the sharing options aren't enough, or you simply need to share a given record automatically with a user or a group without changing its ownership, you can go with Apex managed sharing.

This kind of sharing is close to manual sharing but it is best used with Apex automation or external API calls (that is, the other system's operations directly into Salesforce).

To change an Apex managed sharing record, you need to have a Modify All Data permission: that's why this custom sharing is maintained even if the record changes ownership.

How to create Apex managed sharing rules is out of the scope of this book, and you need developers to achieve this kind of custom sharing. However, you may have to consider it when sharing policies are highly complex or the other sharing methods don't deliver the required level of sharing granularity.

主站蜘蛛池模板: 莱西市| 内乡县| 安阳市| 开封县| 得荣县| 高要市| 泰安市| 汶上县| 赣榆县| 闽侯县| 耒阳市| 白山市| 万全县| 尼勒克县| 忻州市| 三穗县| 北海市| 兴国县| 伊吾县| 大同县| 板桥市| 天长市| 沾化县| 雅安市| 西乡县| 平定县| 天全县| 大竹县| 桃园市| 黄陵县| 贵德县| 民丰县| 文山县| 蓝山县| 五原县| 无锡市| 福建省| 五家渠市| 和政县| 清新县| 阳谷县|