Getting user bandwidth limit and cgi access through xml api

myweb

Well-Known Member
Jun 18, 2002
71
0
156
Tokyo
I know that there is the showbw function to get user account bandwidth limit settings, but why cannot through the listsaccts function?

Also, how do I know if certain accounts have cgi access or not? I can see that you can set the access right using the hascgi/cgi parameters of createacct/modifyacct functions but there does not seem to be any for retrieving that value from the server.
 

hbidad

Well-Known Member
Apr 16, 2005
74
1
158
Use domainuserdata:

...
<userdata>
...
<hascgi>1</hascgi>
...


xml-api/domainuserdata?domain=domain.com
 
Last edited:

myweb

Well-Known Member
Jun 18, 2002
71
0
156
Tokyo
Thanks, but I was looking for a function that can retrieve the settings for multiple accounts in a single call. Seems like there isn't any at this time?

So this would be my feature request.. Please add hasCGI and bandwidth limit settings to the listaccts function response.