Centova Technologies Forum

Centova Cast v3 => General discussion => Topic started by: J.J. Draijer on February 06, 2014, 04:58:30 am

Title: API
Post by: J.J. Draijer on February 06, 2014, 04:58:30 am
Does anyone know how to get the account type (admin, reseller, user) for a username, using the API?
I know the server.getaccount function, but i'm not sure how to extract the account type.

Title: Re: API
Post by: Headshaker on February 07, 2014, 01:09:32 am
there is element called "reseller" its value is is 1 or 0 depending on account type :)