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

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.

主站蜘蛛池模板: 肇庆市| 漳浦县| 昭觉县| 棋牌| 尚义县| 马山县| 防城港市| 阳曲县| 昌邑市| 如皋市| 垫江县| 五家渠市| 佛山市| 宁强县| 泽库县| 常熟市| 托克托县| 左云县| 阳谷县| 曲靖市| 抚州市| 新野县| 达日县| 手游| 汉沽区| 甘南县| 河北区| 冷水江市| 红原县| 大城县| 江门市| 长汀县| 武平县| 武陟县| 渝中区| 婺源县| 新干县| 桓台县| 三明市| 望江县| 阜平县|