I have a weird requirement, I am currently working for a hosting company, and we have built some sharepoint 2 tier farms.
Basically we want to sell these sharepoint images(installations) as a service, but we need to monitor how many users are there in Sharepoint or how many users are there in the Active Directory, the thing is that I must query that from outside the farm and for each farm that we sell, we would use that user count to send the bill.
I am very open to ideas