cancel
Showing results for 
Search instead for 
Did you mean: 

What SharePoint APIs are used to execute Nintex Office365 update item permissions action?

Question

What SharePoint APIs are used to execute Nintex Office365 update item permissions action?

Answer

The Nintex Office365 update item permissions action uses a couple of SharePoint API calls as described briefly below: 

 1. Get SP Web using CSOM (SharePoint Client Object Modal)
 2. Get SP List using CSOM.Web.Lists
 3. Get List Items using CSOM.List.GetItems (Items based on the configured query / CAML)
 4. Inherit permission using CSOM.ResetRoleInheritance (If Inherit permissions from parent option is selected)
 5. Remove existing permissions using CSOM.RoleDefinitionBindings.RemoveAll() (If Remove Existing Permission option is selected)
 6. Resolve Users/Groups using CSOM.ResolvePrincipal 
 7. Add permissions using CSOM.RoleAssignment

Calls to endpoints 4 -7 depend on the number of users and targeted list items. Bare in mind queries are executed in batches of 150 items.

Additional Information


Labels: (2)
Version history
Revision #:
17 of 21
Last update:
a month ago
Updated by: