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

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.

主站蜘蛛池模板: 濮阳县| 西吉县| 同德县| 杨浦区| 富平县| 德安县| 陕西省| 登封市| 泸西县| 临猗县| 洮南市| 永仁县| 昌黎县| 贵州省| 斗六市| 阜阳市| 平顶山市| 南川市| 竹北市| 麻阳| 丰镇市| 通化市| 年辖:市辖区| 寻乌县| 五大连池市| 闻喜县| 常熟市| 乌拉特前旗| 万安县| 桦川县| 八宿县| 高州市| 济宁市| 根河市| 米脂县| 洪雅县| 全南县| 屏东市| 荣昌县| 吉林省| 海宁市|