you might also want to consider if Moodle for Workplace might be suitable for you - Workplace is only available as Sofware-as-a-service from a Moodle Partner but contains some built-in multi-tenancy features and reporting that would probably provide what you are needing out of the box.
General developer forum
Limiting the "Browse list of users" by a hidden filter
This discussion has been locked so you can no longer reply to it.