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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,428)