cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanielCostaO365
Frequent Visitor

How can I get separately the ID´s of multiple users from a person column in SharePoint?

Hi,

 

My objective is to update the item permissions in a SharePoint list based on the users saved in Person/Group column.

 

I have that column in the same SharePoint List as the item i want to update.

 

I break the inheritance of the item (before it was inherit the site permissions), but i need to add the users inserted in the person column to the unique inheritance with read permissions.

 

I´m already returning a array with the ID´s of the users, but i need to separated each one to add in the item permission.

 

How can i do that?

 

Thanks!

1 REPLY 1
OceanA
Advocate IV
Advocate IV

Try using the apply to each action. So, for each user in the array, add children actions that will give the user the right permissions.

 

Here are two link that may help:

https://sergeluca.wordpress.com/2018/05/03/assign-unique-permissions-to-a-document-with-the-new-send...

https://noellawlor.wordpress.com/2018/01/18/setting-sharepoint-item-list-permissions-with-flow/

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,401)