Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to get list item permissions through REST api

$
0
0

Hi Everyone,

I couldn't find out any REST API code for finding out whether thelist item is inheriting permission from it's parent.

I have got only the below methods:-

1)For breaking inheritance ---> WEB_URL + "_api/web/lists/GetByTitle('" + List_Name 
+ "')/getItemById(" + ItemID + ")/breakroleinheritance";

2)To inherit from parent--->WEB_URL + "_api/web/lists/GetByTitle('" + List_Name 
+ "')/getItemById(" + ItemID + ")/ResetRoleInheritance()";

Even I checked the list item properties to get the item permissions, but nothing were available.

Appreciate all your help.

Thank you

Reshma



Viewing all articles
Browse latest Browse all 7589

Trending Articles