RBACUser - setPropertyValue


RBACUser - setPropertyValue

Description :

This command sets a property value on a user. The property name must be defined in the User 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 : com.bladelogic.om.infra.model.rbac.RBACUser

Command Input :

Variable Name

Variable Type

Description

objectKey

DBKey

Handle to the user.

propertyName

String

Name of the property.

valueAsString

String

The value to be set.

Example

This example script assumes that a user key is present in the CLI variable user_key. It also assumes that a property called is_approved has been defined in the User property class.

Script





blcli RBACUser setPropertyValue $user_key is_approved true



 

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