No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
AccountOwnerSharingRule
所有者以外の User と取引先を共有するルールを表しま���。
サポートされているコール
create()、delete()、describeSObjects()、getDeleted()、getUpdated()、query()、retrieve()、update()、upsert()
項目
使用方法
このオブジェクトを使用して、取引先の共有ルールを管理します。一般的な共有およびテリトリー管理に関連する共有ではこのオブジェクトを使用します。たとえば、次のコードは、ポータルユーザも含むことができる 2 つの公開グループ間で取引先所有者共有ルールを作成します。
1AccountOwnerSharingRule rule = new AccountOwnerSharingRule();
2rule.setName("RuleName"); // Set the sharing rule name
3rule.setDeveloperName("RuleDeveloperName"); // Set the sharing rule developer name
4rule.setGroupId("00Gx00000000000"); // Set the group of users to share records from
5rule.setUserOrGroupId("00Gx00000000001"); // Set the group of users to share records to
6rule.setAccountAccessLevel("Edit");
7rule.setOpportunityAccessLevel("Read");
8rule.setCaseAccessLevel("None");
9connection.create(rule);