Listing the permissions of every document in a document library

Here is a code sample I wrote to list every user/group who has permissions on each document in a document library in Office 365 using CSOM using System; using System.Net; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SharePoint.Client; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string siteUrl = “https://<your… Read more