INSTALLATION DOCUMENTS BY RAVI

Saturday, April 29, 2017

Shell script for redirecting list of application roles in obiee 12c to a csv file

Open a text file and write the below code:

import sys
import os
WLS_HOST = 'localhost'
WLS_PORT = '9500'
WLS_USER = 'weblogic'
WLS_PW = 'welcome1'
connect (WLS_USER, WLS_PW,WLS_HOST+ ':'+WLS_PORT)
atnr=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider('DefaultAuthenticator')
listAppRoles(appStripe="obi")
exit ()


Save the file as list_appRoles.py


Now open the terminal and issue the below commands:

$ cd $ORACLE_HOME/oracle_common/common/bin
$ ./wlst.sh list_appRoles.py >list_appRoles.csv


The above command will redirect all the application roles to list_appRoles.csv file





5 comments:


  1. Discover high-quality etsy dtf transfers that are perfect for your custom projects. These transfers are versatile and easy to apply, making them ideal for both beginners and professionals. Whether you're creating apparel or personalized gifts, you can trust their durability and vibrant colors. For more options, check out the selection of etsy dtf transfers.

    ReplyDelete

  2. In Frankfurt am Main verändert sich die Cloud-Architektur stetig. Für einen Cloud-Architekt ist es essenziell, die Vorgaben der DSGVO genau zu kennen. Datenresidenz und Compliance sind in Deutschland besonders streng geregelt, was bei der Wahl des Cloud-Anbieters berücksichtigt werden muss. Die Einhaltung gesetzlicher Standards schützt vor hohen Bußgeldern und sorgt für Vertrauen bei Kunden.

    ReplyDelete

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...