I need to call a method from publishing.administration-Namespace as a farm admin. To be specific:
When I try to run that code I get the exception that the code can only be run by farm administrators.
SPSecurity.RunWithElevatedPrivileges does not help. Also running under the System Accounts SPUserToken Like 'SPSite("myWebsite.com",SPUserToken.SystemAccount)' is of no help, because I am not in a SPSite-Context
Which ways are there to achieve that?