How can we get list users who have full control on a sharepoint document library. Need to do it using rest api+spfx or pnp +spfx
How can we get list users who have full control on a sharepoint document library. Need to do it using rest api+spfx or pnp +spfx
Hi @mdzakir-4088,
Using rest api, we could retrieve Role Assignments for a list like this:
/_api/web/lists/getbytitle('Documents')/roleAssignments?$expand=Member/users,RoleDefinitionBindings
Then you could filter the results to get users who have full control.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
@mdzakir-4088,
I’m checking how the things are going on about this issue.
If you have extra questions about this answer, please click "Comment".
Did you have a try to michael's answer above? Is there any progress?
10 people are following this question.