Subaccount GetAdminType()

From Rackspace Email & Apps API
Revision as of 16:02, 25 August 2008 by APIAdmin (talk | contribs) (New page: This function will find the admin and return the type. "Super" admins may do all administrative tasks including the adding of new admins. "Standard" admins may do all administrative task...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function will find the admin and return the type. "Super" admins may do all administrative tasks including the adding of new admins. "Standard" admins may do all administrative tasks except the adding of new admins. "Limited" admins may be limited to only certain domains or types of admin tasks.

Parameters

Five strings:

   Administrative username,
   Administrative password,
   Subaccount number,
   Admin username, (for the admin whose type is desired)
   Admin type (1= superuser, 2= standard admin, 3= limited admin)

Return Values

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

The admin type string will have a 1, 2, or 3.

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