Open topic with navigation

# ClusterSetAccessPermissions

Allows you to create access permissions for using and viewing cluster output. You can add permissions for a particular role to use and view particular clustering output.

When you set access permissions, you use the Username parameter to specify a user that performs the action. If the specified user does not belong to an allowed role, HPE Category Component returns an authorization error.

If you do not set permissions, all users can perform the actions, and you do not need to specify the Username parameter.

NOTE:

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

## Example

    http://12.3.4.56:9000/action=ClusterSetAccessPermissions&Role=admin&ClusterOutputType=cluster&SourceJobName-myclusters

This action uses port `9000` to specify that only members of the `admin` role can view clusters from the `myclusters` job.

## Parameters

Parameter | Description | Required
--- | --- | ---
AddRolesToAccess | Whether to add access for the specified Role. |
ClusterOutputType | The output type to restrict permissions for. | Yes
Role | The role to change permissions for. | Yes
SourceJobName | The cluster to apply the permissions to. | Yes

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.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm