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.

API - view permissions...

Discussion in 'cPanel Developers' started by gunsuka, Jan 18, 2015.

  1. gunsuka

    gunsuka Member

    Joined:
    Jan 18, 2015
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have been messing about with the XMLAPI interface for PHP for a couple days. Seems to work quite well so far.

    During my messing around I found at some point a way to view what permissions the user had. I did a query and it returned a list of all sections of the cPanel interface and if the user had access or not. For example does the user have access to edit the MX records etc.

    Problem is, now I can't find it anymore. I used it, it worked but now I can't see it in the documentation.

    Anyone know what the API call is?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. gunsuka

    gunsuka Member

    Joined:
    Jan 18, 2015
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Oh yea, that is the one I had found. I did not realize it was a API 1 function, since that is deprecated I guess it should not be used as support can go away at anytime...
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Actually, WHM API 1 is not deprecated. It's cPanel API 1 and WHM API 0 that are deprecated.

    Thank you.
     
Loading...

Share This Page