API - view permissions...
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?
-
Hello :) I believe you are referring to the read_featurelist WHM API 1 function: WHM API 1 Functions - read_featurelist Thank you. 0 -
]Hello :) I believe you are referring to the read_featurelist WHM API 1 function:
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...0 -
]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...
Actually, WHM API 1 is not deprecated. It's cPanel API 1 and WHM API 0 that are deprecated. Thank you.0
Please sign in to leave a comment.
Comments
3 comments