How to attach correct w3wp worker process in visual studio

Most of us generally attach all w3wp worker process while debugging the SharePoint 2013/2016 solutions in Visual Studio. The reason for this is simple as attach to process window does not show any information related to the application pool id. If you want to triumph over this issue and want to find out the correct w3wp worker process that you […]

How to get users from nested AD groups in SharePoint

As we know we can assign permission to specific AD groups from SharePoint workspace. So all users presents in that specific AD groups can get permission to SharePoint sites based on the permission defined to this AD groups in SharePoint sites. If this AD group is a nested AD group then also all users present in all nested groups can have the permission […]

How to get list item version history of a custom list using Client Object Model

Below code describes how to get the list item version history of a custom list using Client Object Model Add reference “Microsoft.sharepoint.client.dll” and “Microsoft.sharepoint.client.Runtime.dll”. Write Below Code. class Program { static void Main(string[] args) { using (ClientContext ctx = new ClientContext(“SITE_URL”)) { CamlQuery camlQuery = new CamlQuery(); Web web = ctx.Web; ctx.Load(web,                     w => w.ServerRelativeUrl,                     w => w.Lists); […]