Search code examples
weblogic12cwlst

Weblogic 12c WLST Create User offline


I want to create New User (admin/admin123) and Domain (myapp) offline using WLST Script. I want to use template common/templates/wls/wls.jar to create the Domain

Please share me sample scripts to do the same


Solution

  • Try this :

    readTemplate(".../wls.jar")
    cd('Security')
    cd('base_domain')
    cd('User')
    user=create("Jim","User")
    user.setPassword("welcome1")