GetDomainNumUsersActive()
From Rackspace Email & Apps API
This function will return the current number of either active or inactive mailboxes on the domain.
Input Parameters
Three strings, an integer, and a result integer:
Administrative username, Administrative password, Domain name, Active flag (integer, 1=active, 0=inactive)
Number of users (int)
Return Values
If successful, the return value of the function will be 1.
Consult the Result Code Table for a list of result codes and their meaning.