GetDomainSettings()
From Rackspace Email & Apps API
This function will report domain level settings including: domain aliases, base max mailbox size, max mailboxes, and the first username and password on the subaccount holding the domain.
Parameters
Three strings, a result string, three result integers, and two more result strings:
Administrative username, Administrative password, Domain name,
Domain alias list (comma delimited string as in "company.net, company.com"), Base max mailbox size (integer, MB, default max size for mailboxes on the domain), Max permitted mailboxes (integer, 0 = no limit), Placeholder integer (ignore contents), Admin username, Admin password (unencrypted return value-- though the conversation happens over SSL)
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.