The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     

Share This Page