-
1. Re: Getting a List of AuthorizationProfiles
John Landells May 17, 2013 4:12 AM (in response to John Landells)Never mind....
Engaged brain and found "BlAuthProfile findAll" which kindly returns a list that I can use directly in Jython!
-John.
-
2. Re: Getting a List of AuthorizationProfiles
Antonio CaputoDec 10, 2015 5:14 AM (in response to John Landells)
By running that blcli (in a NSH script) I get an output like this:
[com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@c469659c, com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@6779a9d0, com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@3863656f, com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@d4d145e9, com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@1e6a56b6, com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@2f097380, com.bladelogic.om.infra.model.rbac.BlAuthProfileImpl@ef8b1096,
... ... ...]
Is there any way to use this output to retrieve the names of the Authorization Profiles?
Thanks,
Antonio
-
3. Re: Getting a List of AuthorizationProfiles
Bill RobinsonDec 10, 2015 6:38 AM (in response to Antonio Caputo)
blcli_execute BlAuthProfile findAll
blcli_execute BlAuthProfile getName
blcli_execute Utility setTargetObject
blcli_execute Utility listPrint
blcli_storeenv authProfiles