I wanted to notify via email all those users having access or shared the listitem/folder and file with given item level permission.
As my solution I was sending notification to the shared with field people and group. But if we remove the permissions for the user or group with whom we shared the document.
However, the user or group is still displayed in the Shared With column.
As per microsoft KB article https://support.microsoft.com/en-us/kb/2987770
How can I find the list of people who having access of ListItem?