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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (5,147)