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.

retrieve manage2 username for cpanel installation

Discussion in 'cPanel Developers' started by rustyhex, Aug 16, 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 check if several cpanel installations belong to one manage2 account (to be able to create one account in my service for multiple cpanel servers, belonging to one owner). I think, that cPanel stores this info, because it is required for licence checking.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. KostonConsulting

    KostonConsulting Well-Known Member

    Joined:
    Jun 17, 2010
    Messages:
    255
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    San Francisco, CA
    cPanel Access Level:
    Root Administrator
  4. rustyhex

    rustyhex Member

    Joined:
    Jul 18, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks greatly for responses. As i understand, "company" field uniquely identifies manage2 account (which holds multiple cpanel licenses, that can be grouped), right?
     
  5. KostonConsulting

    KostonConsulting Well-Known Member

    Joined:
    Jun 17, 2010
    Messages:
    255
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    San Francisco, CA
    cPanel Access Level:
    Root Administrator
    That's exactly correct. Note that a valid license has an <attributes> container rather than a <history> container like so. <history> containers are for past events like expirations and transfers:

    Code:
    <cpanellicenses>
    <license ip="1.2.3.4">
    <attributes group="Koston Consulting" status="1" expdate="unknown" company="Koston Consulting" package="KC" adddate="2011-10-28 15:28:27" valid="1"/>
    </license>
    </cpanellicenses>
    
     
Loading...
Similar Threads - retrieve manage2 username
  1. tizoo
    Replies:
    2
    Views:
    358

Share This Page