cPanel XMLAPI - listacls


DESCRIPTION

This function lists the saved reseller ACL lists on the server.


VARIABLES

INPUT

NONE

OUTPUT

Note: Most output variables represent features in WHM.

listacls
ACL list container.

acls
Individual ACL container.

name (string)
Name of the ACL.

add-pkg (boolean)
Allow the creation of packages (1 = Yes, 0 = No)

add-pkg-ip (boolean)
Allow the creation of packages with dedicated IPs (1 = Yes, 0 = No)

add-pkg-shell (boolean)
Allow the creation of packages with shell access (1 = Yes, 0 = No)

all (boolean)
All features (Warning: Root Access!) (1 = Yes, 0 = No)

allow-addoncreate (boolean)
Allow the creation of packages with unlimited addon domains (1 = Yes, 0 = No)

allow-parkedcreate (boolean)
Allow the creation of packages with parked domains (1 = Yes, 0 = No)

allow-unlimited-disk-pkgs (boolean)
Allow the creation of packages with unlimited disk space (1 = Yes, 0 = No)

allow-unlimited-pkgs (boolean)
Allow the creation of packages with unlimited bandwidth (1 = Yes, 0 = No)

clustering (boolean)
Enable Clustering (1 = Yes, 0 = No)

create-acct (boolean)
Create a New Account (1 = Yes, 0 = No)

create-dns (boolean)
Add DNS Zones (1 = Yes, 0 = No)

demo-setup (boolean)
Turn an account into a demo account (1 = Yes, 0 = No)

disallow-shell (boolean)
Never allow creation of accounts with shell / ssh access (1 = Yes, 0 = No)

edit-account (boolean)
Modify an Account (1 = Yes, 0 = No)

edit-dns (boolean)
Edit DNS Zones (1 = Yes, 0 = No)

edit-mx (boolean)
Edit MX Entries (1 = Yes, 0 = No)

edit-pkg (boolean)
Edit Packages (1 = Yes, 0 = No)

frontpage (boolean)
Install / Uninstall FrontPage Extensions (1 = Yes, 0 = No)

kill-acct (boolean)
Terminate an Account (1 = Yes, 0 = No)

kill-dns (boolean)
Remove DNS Entry (1 = Yes, 0 = No)

limit-bandwidth (boolean)
Modify Bandiwdth Limits. WARNING: This will allow the reseller to circumvent package bandiwdth limits if you are not using resource limits! (1 = Yes, 0 = No)

list-accts (boolean)
List Accounts (1 = Yes, 0 = No)

mailcheck (boolean)
Mail Troubleshooter (1 = Yes, 0 = No)

mod-subdomains (boolean)
Enable / Disbale Subdomains (1 = Yes, 0 = No)

news (boolean)
Modify cPanel/WHM news (1 = Yes, 0 = No)

onlyselfandglobalpkgs (boolean)
Prevent creation of accounts with packages that are not global or not owned by this user (1 = Yes, 0 = No)

park-dns (boolean)
Park Domains (1 = Yes, 0 = No)

passwd (boolean)
Password Modification (1 = Yes, 0 = No)

quota (boolean)
Quota Modification WARNING: This will resellers to circumvent package limits for disk space if you are not using resource limits! (1 = Yes, 0 = No)

rearrange-accts (boolean)
Rearrange Accounts (1 = Yes, 0 = No)

res-cart (boolean)
Reset Shopping Cart (1 = Yes, 0 = No)

resftp (boolean)
Synchronize FTP Passwords (1 = Yes, 0 = No)

restart (boolean)
Restart Services (1 = Yes, 0 = No)

show-bandwidth (boolean)
View Account Bandwidth Usage (1 = Yes, 0 = No)

ssl (boolean)
SSL Manager (1 = Yes, 0 = No)

ssl-buy (boolean)
Purchase and Install SSL Certificates (1 = Yes, 0 = No)

ssl-gencrt (boolean)
SSL CSR/CRT Generator (1 = Yes, 0 = No)

stats (boolean)
View Account Statistics (1 = Yes, 0 = No)

status (boolean)
View Server Status (1 = Yes, 0 = No)

suspend-accts (boolean)
Suspend accounts (1 = Yes, 0 = No)

upgrade-account (boolean)
Account upgrades / downgrades (1 = Yes, 0 = No)


EXAMPLES

Calling this URL in WebHost Manager: /xml-api/listacls

will produce output similar to:

<listacls>

    <acls>

<name>bob</name>

<add-pkg>0</add-pkg>

<add-pkg-ip>0</add-pkg-ip>

<add-pkg-shell>0</add-pkg-shell>

<all>0</all>

<allow-addoncreate>0</allow-addoncreate>

<allow-parkedcreate>0</allow-parkedcreate>

<allow-unlimited-disk-pkgs>0</allow-unlimited-disk-pkgs>

<allow-unlimited-pkgs>0</allow-unlimited-pkgs>

<clustering>0</clustering>

<create-acct>0</create-acct>

<create-dns>0</create-dns>

<demo-setup>0</demo-setup>

<disallow-shell>0</disallow-shell>

<edit-account>0</edit-account>

<edit-dns>0</edit-dns>

<edit-mx>0</edit-mx>

<edit-pkg>0</edit-pkg>

<frontpage>0</frontpage>

<kill-acct>0</kill-acct>

<kill-dns>0</kill-dns>

<limit-bandwidth>0</limit-bandwidth>

<list-accts>0</list-accts>

<mailcheck>0</mailcheck>

<mod-subdomains>0</mod-subdomains>

<news>0</news>

<onlyselfandglobalpkgs>0</onlyselfandglobalpkgs>

<park-dns>0</park-dns>

<passwd>0</passwd>

<quota>0</quota>

<rearrange-accts>0</rearrange-accts>

<res-cart>0</res-cart>

<resftp>0</resftp>

<restart>0</restart>

<show-bandwidth>0</show-bandwidth>

<ssl>1</ssl>

<ssl-buy>0</ssl-buy>

<ssl-gencrt>0</ssl-gencrt>

<stats>0</stats>

<status>0</status>

<suspend-acct>0</suspend-acct>

<upgrade-account>0</upgrade-account>

</acls>

    <acls>

<name>rlb4</name>

<add-pkg>0</add-pkg>

<add-pkg-ip>0</add-pkg-ip>

<add-pkg-shell>1</add-pkg-shell>

<all>0</all>

<allow-addoncreate>0</allow-addoncreate>

<allow-parkedcreate>0</allow-parkedcreate>

<allow-unlimited-disk-pkgs>0</allow-unlimited-disk-pkgs>

<allow-unlimited-pkgs>0</allow-unlimited-pkgs>

<clustering>1</clustering>

<create-acct>1</create-acct>

<create-dns>0</create-dns>

<demo-setup>0</demo-setup>

<disallow-shell>0</disallow-shell>

<edit-account>1</edit-account>

<edit-dns>0</edit-dns>

<edit-mx>0</edit-mx>

<edit-pkg>0</edit-pkg>

<frontpage>0</frontpage>

<kill-acct>0</kill-acct>

<kill-dns>0</kill-dns>

<limit-bandwidth>0</limit-bandwidth>

<list-accts>1</list-accts>

<mailcheck>0</mailcheck>

<mod-subdomains>0</mod-subdomains>

<news>1</news>

<onlyselfandglobalpkgs>0</onlyselfandglobalpkgs>

<park-dns>0</park-dns>

<passwd>0</passwd>

<quota>0</quota>

<rearrange-accts>1</rearrange-accts>

<res-cart>0</res-cart>

<resftp>0</resftp>

<restart>0</restart>

<show-bandwidth>1</show-bandwidth>

<ssl>0</ssl>

<ssl-buy>0</ssl-buy>

<ssl-gencrt>0</ssl-gencrt>

<stats>0</stats>

<status>0</status>

<suspend-acct>0</suspend-acct>

<upgrade-account>0</upgrade-account>

</acls>

</listacls>


COPYRIGHT

Copyright 2007 cPanel Inc.