Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Get listsacc

Discussion in 'cPanel Developers' started by risklife, Jan 23, 2015.

  1. risklife

    risklife Member

    Joined:
    Dec 16, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, i need get all account owner for a reseller, in this case, the name reseller is "dave",

    but the code show all account, owner "root" and "reseller".

    Code:
    $args2 = array(  
      'searchtype'=>'owner', 
      'search'=>'username',
      'want'=>'user,domain', 
    ); 
    $xmlapi->listaccts($args2);
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate on the exact data that you need? For instance, do you want to get a list of all domain names owned by the reseller account?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice