This is my First Post on SharePoint and I am new to SharePoint.I am listening lot of positive buzz on sharepoint.stackexchange , And i hope I too get the same support from you all folks.
My requirement for one of my Web-application(Sales Department) is to get all the Site collections and there sub-sites(including children and their children and so on) , Through Server-object Model and bind to grid.
I see lot of Power-Shell Scripts, But due to my infant stage to SharePoint I couldn't able to understand , Also my requirement is to achieve this using Server Object Model
Can any one help me how can I do this.
SPWebandSPSiteobjects (e.g.tmpWeb.Dispose(),tmpSite.Dispose()) at the end of each loop. – Sep 25 '17 at 06:31Thanks for your response , How can I loop to the sites holding unique permissions( broken Inheritance)
– Ax Learner Sep 25 '17 at 07:00