This counts the Local Lists entries in a Group Policy.
Argument |
Required |
Type |
Description |
groupname |
yes |
string |
The Group name. |
policyname |
yes |
string |
The Policy name. |
status |
yes |
string |
The status for the policy: 1 allow or 2 denied |
Format |
no |
string |
The format of the output for the API: text, json or xml. The default is text. |
callback |
no |
string |
This only works with Direct APIs. This is a JavaScript function that should be called after the API is completed. This function will be called with the response of the API. Please note: It can only be used when requesting this API via AJAX request. More Information can be found here. |
Example
servername/webadmin/api/policy_locallist_list_count.php?groupname=VALUE&policyname=VALUE&status=VALUE
Output:
OK: 1
Version: 6.2.3