How do I get the domain list owned by a user?

gunemalli

Verified User
Joined
Jul 22, 2009
Messages
86
Location
Sheffield, UK
Hey all,

I need a big help. I want to get the list of domains owned by a particular user inside an array.

I'm not sure how i can do this. I looked everywhere and couldn't find the information. Although on the API side there's a command called CMD_API_SHOW_DOMAINS that gets the list of domains owned by a user to an array called list[].

The only thing is my knowledge about API scripting is absolute zero. I tried using this with a custom page inside the skins folder and got a response saying i have no permission.

Please note, i need this for my skin and not for some other application. Therefore it should work right inside the DA panel.

Thanks
 
Back
Top