7 Replies Latest reply on Mar 12, 2013 11:29 AM by Raven Zeer

    Trouble with jython script

      Hi. I'm having difficulty with running a jython script. When I try either of these commands in my script:




      jli = blcli.CLI()




      ADMIN_ROLE=jli.run(['Utility','getCurrentCliRole']).returnValue   #should be RBACAdmins

      print ADMIN_ROLE



      retVal = jli.run(['BlAuthProfile','isAPExists', 'ABC_MANAGER']).returnValue

      print retVal






      They both print "None". However, "ABC_MANAGER" is an authorization profile that does exist (it should return true).