How to deploy sharing rules using Apache ANT tool in Salesforce?

Sample package.xml:
   
 <types>
        <members>Account.*</members>
        <name>SharingCriteriaRule</name>
    </types>
    <types>
        <members>Account.*</members>
        <name>SharingOwnerRule</name>
    </types>

Cheers!!!

No comments:

Post a Comment