Skip to content

Instantly share code, notes, and snippets.

@isanuki
Created November 11, 2013 12:54
Show Gist options
  • Save isanuki/7412777 to your computer and use it in GitHub Desktop.
Save isanuki/7412777 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<CustomObjectSharingRules xmlns="http://soap.sforce.com/2006/04/metadata">
<ownerRules>
<fullName>Acct1toAcc2</fullName>
<sharedTo>
<portalRoleAndSubordinates>CustomerUser1</portalRoleAndSubordinates>
</sharedTo>
<sharedFrom>
<portalRoleAndSubordinates>CustomerUser2</portalRoleAndSubordinates>
</sharedFrom>
<accessLevel>Read</accessLevel>
<name>Acct1toAcc2</name>
</ownerRules>
<ownerRules>
<fullName>Acct1toAcc3</fullName>
<sharedTo>
<portalRoleAndSubordinates>CustomerUser</portalRoleAndSubordinates>
</sharedTo>
<sharedFrom>
<portalRoleAndSubordinates>CustomerUser2</portalRoleAndSubordinates>
</sharedFrom>
<accessLevel>Read</accessLevel>
<name>Acc1toAcc3</name>
</ownerRules>
</CustomObjectSharingRules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment