Batching Numerous Requests #373
-
Hello all, I'm working on a project where we need to update the permissions on a larger number of folders and files, and I was hoping that I could use the batching features of pnp core. If I start with a list of serverRelativeURLs for each item, is there a way to batch multiple calls to BreakRoleInheritance and AddRoleDefinitionsAsync while still taking advantage of the pnpContext? As always, thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@kentlhastings : The current nightly released introduced part of the batch methods you need: https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListItem.cs#L369 is there. I'll add equivalent batch methods for the AddRoleDefinitions method, thanks for raising this. |
Beta Was this translation helpful? Give feedback.
@kentlhastings : The current nightly released introduced part of the batch methods you need: https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListItem.cs#L369 is there. I'll add equivalent batch methods for the AddRoleDefinitions method, thanks for raising this.