Attached patch adds two functions: to return either # of users (e.g user who have marked this domain as default) on a given domain or # of users per domain for all domains.
I'm using these functions in a custom services method but I'm sure there are other use cases as well.

Comments

nonsie’s picture

I realized after submitting it that it doesn't make sense to have too different functions for this. Attached patch combines them into one function.

nonsie’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.