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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    38,658
    Likes Received:
    1,425
    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.
     
Loading...

Share This Page