API

Read 3426 times
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.

there is element called "reseller" its value is is 1 or 0 depending on account type :)