1 Reply Latest reply on Mar 26, 2014 5:21 AM by Krishna Vaddadi

    How to update Server AP Property through NSH Script

      We are trying to assign a value to a Automation Principal in Server properties through NSH script (Executed using BLAdmins privileges. The usual syntax of setPropertyValueByName is not working, however for clearing the value it works fine. What's the correct syntax?


      This does not work:

      When I want to assign a value (already created under Automation Principals - RBAC Manager) its not working...

      blcli_execute Server setPropertyValueByName ${ServerName} "AUTOMATION_PRINCIPAL" "<MY_AP_PROP>"


      However clearing value works fine:

      blcli_execute Server setPropertyValueByName ${ServerName} "AUTOMATION_PRINCIPAL" ""


      Is there any other method instead of setPropertyValueByName to be used for assigning APs?