Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2002
    Location
    Tokyo
    Posts
    71

    Question Getting user bandwidth limit and cgi access through xml api

    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.

  2. #2
    Member
    Join Date
    Apr 2005
    Posts
    74

    Default

    Use domainuserdata:

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


    xml-api/domainuserdata?domain=domain.com
    Last edited by hbidad; 06-14-2010 at 02:10 AM. Reason: wrong link example

  3. #3
    Member
    Join Date
    Jun 2002
    Location
    Tokyo
    Posts
    71

    Default

    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.

Similar Threads & Tags
Similar threads

  1. xml-api bandwidth
    By hbidad in forum cPanel Developers
    Replies: 2
    Last Post: 04-03-2011, 08:41 AM
  2. Replies: 4
    Last Post: 09-02-2010, 05:42 PM
  3. Bandwidth in XML API
    By Andrewcp in forum cPanel Developers
    Replies: 11
    Last Post: 05-29-2009, 09:36 AM
  4. Access Denied - XML API
    By lukaschemp in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-17-2008, 11:42 AM
  5. XML API verify user's password?
    By danneh3826 in forum cPanel Developers
    Replies: 2
    Last Post: 08-27-2008, 06:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube