How to get all sites in a SharePoint Site Collection using the CSOM

This scripts shows how to get all the sites in a SharePoint 2013 (OnPremises) Site Collection using the SharePoint Client Side Object Model (CSOM). The script defines afunction that follows the CSOM rules in order to get all the existing sites under a specific site collection. In

4.5 Star
751 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

Be the first to ask a question.