RBACRole - setPropertyValue

RBACRole - setPropertyValue

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.

Return type : com.bladelogic.om.infra.model.rbac.RBACRole

Command Input :

Variable Name

Variable Type

Description

objectKey

DBKey

Handle to the role.

propertyName

String

Name of the property.

valueAsString

String

The value to set.

Example

This example assumes that a role key is present in the CLI variable role_key. It also assumes that a property called is_approved has been defined in the Role property class.

Script





RBACRole setPropertyValue $role_key is_approved true 



Was this page helpful? Yes No Submitting... Thank you

Comments