0

I would like to expose some additional features in my WebPart when it is added to the Central Administration site. I tried testing for SPAdministrationSiteType.TenantAdministration, but it didn't work.

Any ideas?

1

the magic setting is: SPContext.Current.Site.WebApplication.IsAdministrationWebApplication

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy