Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Account Permissions for accessing SPFarm, SPWebApplication using Object Model

$
0
0

I am developing a custom Windows Service. Within this Windows Service, I need to loop through all web applications. So I need to use SPFarm.Local from Administration namespace. My intent is to use least privileges. So, can anyone please tell me, which user should the Windows Service run under? If the Windows Service runs as Local System, it was failing when it was trying to access SPFarm. Please help.

Also, can a farm admin account access SPFarm.Local or only the setup / install account can access this?


Ven



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>