Information

This site will undergo a brief period of maintenance on Friday, 5 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

RBACRole - setPropertyValueByName


RBACRole - setPropertyValueByName

Description :

This command sets a property value on a role. The property name must be defined in the Role property class. The property must be defined as editable.

You can use the BMC BladeLogic blenc encryption utility to encrypt values you set with this command. For syntax and sample usage, see Server : setPropertyValue .

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

roleName

String

Name of the role to modify.

propertyName

String

Name of the property whose value you want to change.

valueAsString

String

The value you want to set the property to.

Example

This example script assumes that a role named "SuperAdmin" is present in the system. It also assumes that a property called LOCATION has been defined in the Role property class.

Script





RBACRole setPropertyValueByName SuperAdmin LOCATION "West Coast"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5