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!

Getting contact information (emailo, etc) for the root WHM account

Discussion in 'cPanel Developers' started by rustyhex, Aug 7, 2013.

  1. rustyhex

    rustyhex Member

    Joined:
    Jul 18, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I need to get WHM's root account contact info (Basic cPanel & WHM Setup -> Contact information). It would be used in my WHM plugin for notification purposes. There's API calls for cpanel users and resellers, but not for root.
    How can this be archieved?
     
  2. rustyhex

    rustyhex Member

    Joined:
    Jul 18, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Solved! Used Cpanel::Config::LoadWwwAcctConf().
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to hear you were able to resolve the issue. Thank you for sharing the solution.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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