Skip to content

How do I set DenyAddAndCustomizePagesStatus disabled with C# ? #1154

Answered by jansenbe
Ofer-Gal asked this question in Q&A
Discussion options

You must be logged in to vote

@Ofer-Gal : In PnP Core SDK this can be done using the admin library by setting the DenyAddAndCustomizePages property of an ISiteCollection. To learn how to set a site collection property see https://pnp.github.io/pnpcore/using-the-sdk/admin-sharepoint-sites.html#getting-and-setting-site-collection-properties

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ofer-Gal
Comment options

Answer selected by Ofer-Gal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants