CategorySetPermissions

Allows you to specify which role has access permissions for a specific category, and what these access permissions are for role members and non-members.

Note: This is an administrative action that can be sent only from AdminClients (which are set in the [Server] section of the configuration file).

Note: To set general role privileges, you must use the RoleSetPrivilegeForRole action.

Example

http://12.3.4.56:9000/action=CategorySetPermissions&Category=32349987602210557106&Role=USA&MemberPermissions=Read

This action uses port 9000 to instruct IDOL Server, which is located on a machine with the IP address 12.3.4.56, to grant all members of the USA role Read access to the category with the ID 32349987602210557106.

Parameters

Parameter Description Required
Category The ID of the category to set permissions for. Yes
MemberPermissions The permissions to grant to role members. See Comments
NonMemberPermissions The permissions to grant to non-members of the role. See Comments
Recurse Apply the permission changes to the children of the category.  
Role The role for which to set category access permissions. See Comments
UserName The name of the user that sends the action.  

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.

Comments

You must set one of the following parameters:


_HP_HTML5_bannerTitle.htm