SOLVED

Programmatically set site Sharing Permissions

Copper Contributor

Hi,

 

I'm looking for a way to programmatically set the site level sharing permissions, which can be found in "Site Permissions --> Change how members can share":

 

sharing-permissions.PNG

 

Unlike the tenant level sharing settings, I cannot find developer documentation for these site level settings. Can anyone help with this subject?

2 Replies
best response confirmed by Marco Santos (Copper Contributor)
Solution

@Marco Santos Check the attachment. it does everything you need.

Let me know if you have any questions.

Cheers

 

Thank you Luís, tested and confirmed.

I focused on finding a specific property to make this configuration and end up not realizing that it actually requires a combination of different properties.

Cheers!
1 best response

Accepted Solutions
best response confirmed by Marco Santos (Copper Contributor)
Solution

@Marco Santos Check the attachment. it does everything you need.

Let me know if you have any questions.

Cheers

 

View solution in original post