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.

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





RBACUser setPropertyValueByName Mike LOCATION "West Coast" 



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

Comments