How to take export entire Sharing Setting Name, Rule Criteria and User/Group Shared-with value in an Org in csv/excel. Step by step process explanation will be helpful.

1 Answer 1


Sharing rules are metadata and can be fetched using the Metadata API. You can see examples of what it looks like here.

Converting this to a CSV form is beyond the scope of this answer so, if your solution is apex-based; give it a whirl and if you run into issues dealing with the Metadata API data structure and converting to CSV, post your code using Edit

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .