문제

Is it possible to get HasUniqueRoleAssignments with Graph API or do you have to use the SharePoint REST API?

I tried: https://graph.microsoft.com/v1.0/sites/XXX-7386-4E2B-9506-A66FB82EA48B/lists/XXXX-3b4b-423d-9240-XXX/items?expand=fields

Gaves me following: enter image description here

도움이 되었습니까?

해결책

Unfortunately, we don't have GRAPH api to check permissions for SharePoint objects....you have to rely on SharePoint REST API. Below end point can be use.

/sites/blackwidow/_api/Web/Lists(@v0)/Items(@v1)?&@v0=guid'12321313-213-223-2323-2323123'&@v1=1&$select=hasuniqueroleassignments

This will return true or false based, $select property will work at site, web, list and list item level.

Hope this is useful...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top