I have requirement like if i select a user in the people picker get click the select button it should display the selected user permissions for his accessible subsites, lists and list items and his permissions level.i want to achieve this in sharepoint online using REST API.Any help would be appreciated and thanks in advance.
1 Answer
You can use PowerShell script to list the sites, sub-sites,lists and list items that a special user have access to and their roles.
Here are some articles for your reference.
SharePoint Online All User Access/Permissions Report:
Sharepoint Online All User Access/Permissions Report
SharePoint Online User Permission Reports:
https://www.qipoint.com/blog/powershell-to-check-user-permission-in-sharepoint-online/
-
Hi Lisa, thanks for your reply I want to do this in Sharepoint hosted app. so i am in need of REST API code or JSOM code.can you have any reference for that? Commented Oct 1, 2018 at 9:25
-
please find my post below. but you have to refactor my code sharepoint.stackexchange.com/questions/281431/… Commented Jun 10, 2020 at 15:59