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?