How to create users and groups using WLST Offline with Weblogic 8.1.4

How to create users and groups using WLST Offline with Weblogic 8.1.4?
Any ideas?

Hi this is how i created a user using WLST Offline?
cd('/Security/' + domainName)
# Delete the default user name weblogic
# incase you want to remove the defualt user weblogic
delete('weblogic','User')
# Creating a new user defined
create(userName, 'User')
# Setting the password of the user you created.
cd ('/Security/' + domainName + '/User/' + userName)
cmo.setPassword(password)
Regards
Makenzo

Similar Messages

  • How to create user in workspace using command line with Internal APEX

    Hi fellows,
    I'm newbie with APEX and my i try doing something different. I need to build one application in Internal for create users in another workspaces. So, for do this, need use command line and PL/SQL code.
    I know exists a CREATE_USER procedure. But, this procedure just create a user in Internal, not in workspace, like i want.
    Its possible? Someone can help me?
    Example of create_user procedure:
    BEGIN
      APEX_UTIL.CREATE_USER(
         p_user_name => 'NEWUSER2',
         p_first_name => 'FRANK',
         p_last_name => 'SMITH',
         p_description => 'Description...',
         p_email_address => '[email protected]',
         p_web_password => 'password',
         p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
         p_default_schema => 'MY_SCHEMA',
         p_allow_access_to_schemas => 'MY_SCHEMA2',
         p_change_password_on_first_use => 'N',
         p_attribute_01 => '123 456 7890');
    END;
    Thank you.

    Did you try it like this?
    DECLARE
       l_workspace_id      number;
    BEGIN
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'MY_WORKSPACE_NAME');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
      APEX_UTIL.CREATE_USER(
         p_user_name => 'NEWUSER2',
         p_first_name => 'FRANK',
         p_last_name => 'SMITH',
         p_description => 'Description...',
         p_email_address => '[email protected]',
         p_web_password => 'password',
         p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
         p_default_schema => 'MY_SCHEMA',
         p_allow_access_to_schemas => 'MY_SCHEMA2',
         p_change_password_on_first_use => 'N',
         p_attribute_01 => '123 456 7890');
    END;

  • Creating users and groups

    Hi all,
    I have about 100 users and many groups.
    How can i create users and groups quickly?
    Appreciate any help

    Like the way you export planning application to file system and use it as a source to migrate it, In the same way take shared services file system export in the file system and migrate it to the new environment.
    Cheers..!!!
    Rahul S.

  • Create user and group

    I want to create a user and group for an Squid installation, I have no problem creating the User, but I don't know how to create the group. Can anyone help me?

    The most appropriate way to do this depends on the specifics. I assume you created the user in the Accounts pane of System Preferences. If so, you will automatically have created a group of the same name if you're using Tiger. Whether this is a good way to do it depends on whether the user needs to be a "normal user" who can log in to the machine etc. If not, it is better to create the user and group using another method (command line in Terminal or using NetInfo Manager, for example).
    - cfr

  • How to create User and Database in different Table spaces

    How to create User and Database in different Table spaces using oracle 10g
    Regards
    daya

    I am sorry but your question does not seem to make much sense.
    Can you please rephrase your question?

  • How to import user and group at EPM11.1.2?

    I found a similar topic on this at User & Groups Issue
    But sounds like there is big change a tEPM11.1.2, I didn't find CSSImportExport utility at all.
    Could anyone tell me how to import users and groups from flat file at this version?
    Thanks
    Tony

    You can only use LCM from 11.1.2, it is not really that different format from the CSSImportExport utility.
    I find the best way is to set up a few users and provisioning and then use LCM to export, then you get a good feel to the format of the file.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to find users and group in sun box

    Please adivce How to find users and group in sunsolaris
    Thanks in advance

    We can get all the group details from /etc/group file .
    Similarly user details can be found in /etc/passwd .

  • How to reset users and groups in Server.app?

    Recently after change settings in the Server.app (like turn off/on open directory, delete/add certificates), I got a strange problem:
    In the users and groups list, it display all local users and groups (looks like system users and groups, about 100 users and groups, but this is a new server)
    I tried reset the server.app by following
    howto reinstall/reinitialize os x server
    http://support.apple.com/kb/HT200271?viewlocale=en_US
    These users and groups still showing there.
    Have you seen this before and how can I completely reset the server.app to factory default so that I can start over the set up?

    In theory, that should restore the users.  You can do some surgery if you are really brave.  But the reinstall generally should be enough. 
    These accounts are in the DSLocal data store.  Basically, this is very similar to the any OS X machine.  Apple keeps a default copy of the Local Database here:
    /System/Library/DirectoryServices/DefaultLocalDB/Default
    Should you need to reset a machine to the default local database, you can remove the current database (/var/db/dslocal/nodes/Default) and then copy the default one to the same location.  I would not go this far unless the reinstall was unsuccessful. 
    To check, you can run this command:
    dscl . list /Users
    That will list all the Users in the local DB.   To get a count, pipe to wc
    dscl . list /Users | wc -l
    On a Server that I just jumped on, I see 79 users and 111 groups (dscl . list /Groups | wc -l)  But this is a system will man SACL groups so I likely have more than the default.
    Hope this continues to help.  Probably more info that you want. 
    Reid
    Apple Consultants Network
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store
    Author "Mavericks Server – Control and Collaboration" :: Exclusively available in Apple's iBooks Store

  • How to create Reports and Forms using JSP

    Hi,
    How to create reports using JSP. And how many types of reports can be created using JSP.Can anyone explain with example please.
    Thanks,
    Vijayalakshmi.M

    Here is some code that creates xml for any SQL that returns a ResultSet. Note this uses my default out-of-the-box XML template, but you can quickly create and use your own templates to generate xml to look anyway you desire.
    FormattedDataSet fds=FormattedDataSet.createInstance();
    Map miscData=new HashMap();
    map.put("rootElement", "musicgroups");
    String xml=fds.getFormattedDataSet("select * from groups", miscData, "xml1");
    String xml has the value:
    <musicgroups>
    <row rowID='1'>
      <group_id>1</group_id>
      <group_name>Rolling Stones</group_name>
      <type>Rock</type>
    </row>
    <row rowID='2'>
      <group_id>2</group_id>
      <group_name>Beatles</group_name>
      <type>Rock</type>
    </row>
    <row rowID='3'>
      <group_id>3</group_id>
      <group_name>Led Zepplin</group_name>
      <type>Rock</type>
    </row>
    </musicgroups>steve -
    http://www.fdsapi.com - The easiest way to generate dynamic HTML and XML
    http://www.jamonapi.com - A performance tuning and scalability measuring API

  • How to Create User Defined Template in Back Office with Labels and Tags App

    Hello,
    Can anyone help me in creating a user defined template in Back Office with Labels and Tags Application. I'm currently using version 13.2.?
    Kindly help me out asap.
    Thanks,
    Monica.

    Hi Monica
    Third party software is available,from AccessVia, that can be used to create and update templates. Sample sample sqt can help you to understand the required inputs (batchID, templateID, departmentID, locale).
    Thanks
    Himanshu

  • How to create items and BOMs using web services

    Hi All,
    I need to create, change and read Items and BOMs through web services (using SOA Gateway, right). I found this one here: "Process Item (convenience wrapper version)" or "Process Item" within
    Internal Name     EGO_ITEM_PUB
    Type               PL/SQL
    Product          Advanced Product Catalog
    Status          Active
    Business Entity     Catalog Item
    Right now, I don't know how to use it. If somebody has a simple example to create a single item, this would be perfect! Which one would be the right one to read detailed information about an existing item?
    The second object I need to maintain (create, change and read) is BOM. Which API can I use here?
    btw: I use EBS 12.1.1 on windows.
    Many thanks,
    Konrad

    Hi!
    Thanks for your quick answer but unfortunately, I must admit that I'm an absolute beginner with Oracle and EBS and so things like:
    Enable trace and generate the tkprof file or open the form using forms builder to get the name of the API used in thta screen.or
    Please check e-trm site for your question do not help me to much :-(
    Any other advice?
    Konrad
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Regard
    Helios

  • How to create Folder and subFolder using web services

    Hi,
    Today I've been working with some Share Point develompment but the truth is that I can't just get it.
    Can any body help me with some easy links to start Share Point Development?
    Here is wath I'm trying: I need to create a new folder (lets say Folder1) inside a Document library. After Folder1 is created, I need to create a new Folder inside Folder1 (lets say Folder1.1) and so on.
    Until now, I'm able to create Folder1 but after that I don't know how to continue creating subfolders.
    It's important to say that I would like to solve this problem by using webservices and let de Microsoft.Sharepoint.dll as just in case.
    I hope somebody help me.
    Thanks.

    Hi Steve,
    I need to create a folder structure(e.g folder1/folder2) by the running the program once.I tried calling the UpdateListItemCreateFolder recursively and passed an extra rootFolder parameter.I changed the RootFolder attribute as shown below but the code isnt working.Please let me know the right procedure to create a folder structure in a list.
    public
    static void UpdateListItemCreateFolder(string folderName, string rootFolder)
    ListService.
    Lists listProxy = new ListService.Lists();
    string location = "http://localhost:414/Documents/one" + rootFolder.ToString();
    string xmlconst = "<Batch OnError='Continue' RootFolder='" + location.ToString() + "'><Method ID='1' Cmd='New'><Field Name='ID'>New</Field><Field Name='FSObjType'>1</Field><Field Name='BaseName'>!@foldername</Field></Method></Batch>";
    listProxy.Url =
    "http://localhost:414/_vti_bin/lists.asmx";
    listProxy.UseDefaultCredentials =
    true;
    XmlDocument doc = new XmlDocument();
    xmlconst.Replace(
    "!@root", location);
    string xmlFolder = xmlconst.Replace("!@foldername", folderName);
    doc.LoadXml(xmlFolder);
    XmlNode batchNode = doc.SelectSingleNode("//Batch");
    XmlNode resultNode = listProxy.UpdateListItems("Documents", batchNode);

  • How to calculate SNR and BER using USRP 2920 with LFTX and LFRX daugher boards.

    I have few questions regarding SNR and BER measurement:
    I am using two USRP 2920 with daughter boards LFTX and LFRX. One is completely Tx and anothe one is completely Rx. I have following few questions:
    Q1: How to control/change Energy per bit (Eb) in LabView? Since for calculating BER you have to increase SNR, and for increasing SNR you have to increase Eb. So can anybody guide me how to increase Eb in LabView?
    Q2: Can any body tell me about the noise floor of the above mentioned daughter boards?
    Q3: How to set the transmit power of the USRP in LabView? What is the maximum power the above mentioned daughter boards can provide and How should I adjust the "Gain" parameter to transmit the signal with the maximun power?
    Thanks
    JK 

    Hi JK,
    The energy per bit calculation, as I understand it, is the ratio of the signal power to the bit rate. This means that to increase it, you have to either increase the overall power you are transmitting or decrease the user bit rate. In LabVIEW, you would do this by increasing the gain or by decreasing the IQ rate.
    I'm not sure of the noise floor on those boards, but I did have a question. The USRP 2920 is sold in a particular configuration. Did you take it apart and put in the LFTX and LFRX boards? Or is it an Ettus board with these daughterboards attached?
    -Jim B
    Applications Engineer, National Instruments
    CLD, CTD

  • How to create users in Weblogic using an API

    Hi All,
    I have a requirement where i need to add the users in security realm without using Weblogic Console.Is there any API or program which lets us to create the users and set it in realm.
    Please suggest!!
    Thanks.

    Hi,
    You can follow the blog written by Middleware magic team
    Creating Users And Groups
    http://middlewaremagic.com/weblogic/?p=4981
    Deleting Users And Groups
    http://middlewaremagic.com/weblogic/?p=5234
    Users List from Security Realm
    http://middlewaremagic.com/weblogic/?p=6678
    Hope this will be helpful
    Regards
    FAbian

  • How to create users with i18n characters in SunONE directory server?

    Was trying to create users and groups with i18n characters in SunONE directory server
    1. Started LDAP console using -l option
    2. Chaged the Locale to Japanese
    3. Entered few japanese character as username (meaning internationalization user name)
    4. However, I could not able to type the password using the "soft keyboard" that comes with Japanese Locale
    5. to overcome with #4, for now, I typed english chars as the password
    6. Click OK to save the above username/pwd
    7. It says "netscape.ldap.LDAPException: error result (19); value of attribute "uid" contains extended (8-bit) characters"
    Has anyone ever created i18n user names in SunONE Directory Provider? Please help...

    Hi LostLad,
    Soryy for my ignorance...Could you please be elaborate on how to remove "uid attribute from 7-bit ASCII plugin?
    Thanks in advance..

Maybe you are looking for

  • Error Loding Crystal Report in Client Machine

    I have developed a windows application using vs2010 c# and also generated crystal report using the application.The problem is I am able to view report on my computer but when the same application runs on a client machine its throwing an error "could

  • Can't print more than one copy at a time in InDesign CS3

    No matter what quantity I set in InDesign CS3, it will only print one at a time. Doen't matter whether it's my HP 4250 LaserJet or a Xerox Phaser 8550. Also doesn't matter whether I set preferences with InDesign or the printer's preferences.

  • Video in CS3 won't work

    Hi, I have placed a small video ( which I know is ok as I put it into other versions) in CS3 , but when I upload the page it's not there! Can anyone please help.

  • Write on external hard drive

    How to edit foler on external harddrive with NTFS from Apple Air?

  • Error with ANEs in ASC2

    I'm trying out SDK 3.6 with ASC2 on OS X, and am having an issue with ANEs. Running my project in adl on OS X, everything is fine until I include an ANE in the project. This causes an immediate "VerifyError: Error #1079: Native methods are not allowe