Getting HasUniqueRoleAssignments with the graph API
-
08-02-2021 - |
Pergunta
Is it possible to get HasUniqueRoleAssignments with Graph API or do you have to use the SharePoint REST API?
Solução
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...
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange