SearchSubaccounts()

From Rackspace Email & Apps API
Jump to: navigation, search

This function will search the list of sub-accounts associated with the provided admin user for all instances where the sub-account name matches the partial string supplied as the search argument. No wildcards available. The account # and account name for all matching accounts are returned.

Parameters

Four strings:

   Administrative username,
   Administrative password,
   Search string, (case insensitive)
   Account listing ("account #, account name [crlf] account #, account name [crlf] …”)

Return Values

If successful, the return value of the function will be 1.

The account listing will hold a list of account numbers and names associated with the reseller username and password supplied which match the search string.

Consult the Result Code Table for a list of result codes and their meaning.