Skip to main content
Nintex Community Menu Bar

About granting permission with "Call a SharePoint web service"

  • July 21, 2022
  • 4 replies
  • 64 views
  • Translate

  • 3 replies

I'm using the "Call a SharePoint web service action" feature to grant permissions to a specified item in a SharePoint list.
URL:

{SiteUrl}​/_api/Web/Lists/getByTitle('{List Name}​')/Items({ID})/roleassignments/addroleassignment(principalid={Approver Group (ID)}, roledefid=1073741827)

 

The account to be granted has acquired the group ID from the specified item in the SharePoint list.

24575iA5DCA93962C6BB87.png

24576iDA6882F12934476E.png


With this feature
If multiple accounts are set in one item, will the loop function call the API for the number of accounts?

I would like to know if there is a way to grant permissions to multiple accounts at once.

Did this topic help you find an answer to your question?

4 replies

Sven
Forum|alt.badge.img+7
  • Novice
  • 66 replies
  • July 26, 2022

Hi @RN , 

 

i am not 100 % sure, if i understood you question correctly, but yes if you use a loop, you can call this action twice or how often you want to loop throught.

 

Sven

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2467 replies
  • July 26, 2022

Hi,

 

The SharePoint Online Update Item Permissions Action can update the permissions on an item with multiple accounts at the one time.

https://help.nintex.com/en-US/nwc/Content/Designer/Actions/SharePointOnline-UpdateItemPermission.htm

Translate

  • Author
  • 3 replies
  • July 27, 2022

SimonMuntz San

 

Thank you for the information.

With "Update item permissions", you can grant permissions to multiple accounts at once.

 

BestRegards

Translate

  • Author
  • 3 replies
  • July 27, 2022

Sven San

 

Thank you for your reply.
When using it, specify the number of loops and execute it.

 

BestRegards

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings