List and use Application Roles using WLST - listAppRoles()

262 Views Asked by At

Is there a possibility to list up and work with existing Application Roles? I want to list up my roles and then check afterwards the member of this roles with listAppRoleMembers(appStripe='obi', appRoleName='XY'). But first things first... Has someone find a way to get this lines?

I tried things like:

import sys
    import os
    
    try:
      myRoles = []
      for line in listAppRoles( appStripe='obi'):
       myRoles.append(line)
      print myRoles
    except Exception, e:
     print e
    
    exit ()

Br.

0

There are 0 best solutions below