I am looking to get the GUID of the Central Administration page in SharePoint but not sure how I can get it, any help would be appreciated.
I need to be able to get this dynamically using the API / Object Model
Thanks
Phill
I am looking to get the GUID of the Central Administration page in SharePoint but not sure how I can get it, any help would be appreciated.
I need to be able to get this dynamically using the API / Object Model
Thanks
Phill
Try
Microsoft.SharePoint.Administration.SPAdministrationWebApplication
SPAdministrationWebApplication adminWebApp = (SPAdministrationWebApplication)SPWebApplication.Lookup(myUri);
SPAdministrationWebApplication.Local