Skip to main content
Nintex Community Menu Bar
Solved

Set individual permissions for each user in SharePoint Group

  • July 8, 2020
  • 1 reply
  • 12 views
  • Translate

Hi - super new to Nintex and tasked with migrating workflows from SP2013 to O365. We have a Nintex workflow that sets individual permissions on an item for each user in a SharePoint group listed under Site permissions, then removes the permissions for anyone in the "deny" field for the item. 

 

The old workflow grabbed the users from the group and created a collection to loop through, setting permissions for the selected user. We are using ShareGate Desktop to migrate the workflows. The web service actions used to get the users from the groups is no longer supported.

 

Can anyone explain how I can set the permissions of a group of users individually? I have been scouring but unable to find anything related except a dead-end link. Thanks in advance!

 

 

Best answer by Aloe20

For anyone looking for a way to do this in the future: rebuilt the workflow with the new web request actions and REST API (https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn531432(v=office.15)#group-properties) and saved this into a dictionary, then looped through setting a dictionary variable to the value of the current dictionary item to extract the email address and use this to set permissions on the file.

 

Had a bit of a trip up with permissions - make sure the group is set to read to everyone otherwise you won't get any results from the API call.

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

  • July 20, 2020

For anyone looking for a way to do this in the future: rebuilt the workflow with the new web request actions and REST API (https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn531432(v=office.15)#group-properties) and saved this into a dictionary, then looped through setting a dictionary variable to the value of the current dictionary item to extract the email address and use this to set permissions on the file.

 

Had a bit of a trip up with permissions - make sure the group is set to read to everyone otherwise you won't get any results from the API call.

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