RoleAddUserToRole

Allows you to add a user to a role.

Example

http://12.3.4.56:9000/action=RoleAddUserToRole&RoleName=Marketing&UserName=Chris+Tester

This action uses port 9000 to add the Chris Tester user to the Marketing role, which is stored in HPE Community Component. HPE Community Component is located on a machine with the IP address 12.3.4.56.

Parameters

Parameter Description Required
EmailAddress The e-mail address of the user.  
FieldFieldName A user field for the user.  
RoleName The name of the role to add the user to. Yes
Security A security field for the new user.  
UID The user ID of the user to add to the role. See Comments
UserName The user name of the user to add to the role. See Comments

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