RBACUser - setPropertyValueByName


RBACUser - setPropertyValueByName

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 : DBKey

Command Input :

Variable Name

Variable Type

Description

userName

String

Name of the user 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 user named "Mike" is present in the system. It also assumes that a property called LOCATION has been defined in the User property class.

Script





blcli RBACUser setPropertyValueByName Mike LOCATION "West Coast"



 

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