RoleAddPrivilege
Allows you to create a privilege, which IDOL Server adds to the list of available privileges. To connect the privilege to a role, you must use the RoleSetPrivilegeForRole action to set the privilege value for this role.
Example
http://12.3.4.56:9000/action=RoleAddPrivilege&Privilege=Database&SingleValue=True
This action creates the Database
privilege.
Required Parameters
The following action parameters are required.
Parameter | Description |
---|---|
Privilege | The name of the privilege to add. |
SingleValue | Whether to restrict the privilege to a single value. |
Optional Parameters
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
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. |