Create multiple users

Hi,
I would like to create multiple users from my Table Users (Username & Passwords) instead to pass by the express Application Users from apex. I have like 100 users, it will take so long to create with apex.
Is anyone know the sql code to create that with sql workshop ?
Thanks

this is pretty basic but should do it... I haven't tested or anything but should work (or at least with the smallest of tweaks will work). The only problem I can see you encountering will be if the user already exists as I haven't handled this yet but a simple exception handler around the apex_util.create_user call will handle this. You may want to change the password to something else but this at least shows the basics.
declare
cursor my_users is
select user_id user_id, user_id user_name, user_id password
from users;
begin
for u in my_users loop
apex_util.create_user(
p_user_id => u.user_id,
p_user_name => u.user_name
p_web_password => u.password);
end loop;
commit; --can't remember if this needs a commit but shouldn't hurt
end;

Similar Messages

  • How i can create multiple users at a time (User Administration) in EP

    Hi
    I need to create multiple users at a time. How can i do that through User Administration in EP.
    Please also tell me about import option in User Administration

    Hi,
    1.  First of all create a master user based on which you can create multiple users.
    2.  when you are done with it  export (by selecting the option at user creation) it.
    3.  you can see some text in a window copy it create  a txt file with it, and add as many users as you want
         by cpoy pasting the text multiple times and making necessary change as per the names etc...
    4. save the txt file.
    5. goto import option you were talking about and import the text file and update it.
    6. As it gets updated you are done with the creation of multiples users.
    If you  get stuck somewhere  feel free to  let me know.
    if  this answer satisfies your need, award points and close the thread.
    Edited by: ali alia on Feb 10, 2009 6:21 AM

  • Is there any way to create multiple users in a single shot in oracle db

    Can Any one tell me, is there any way to create multiple users in a single shot in oracle database.

    Hello Nunhum,
    I guess this was not my question.. This is not what I m asking.. I know there is not a single sql statement in oracle ,which could create multiusers alike UNIX/LINUX(OS LEVEL), Whatever you have written..is simple creating them one by one.
    What I am expecting is to have PL/SQL statement which could help us in this regard.

  • How to create multiple users in solaris using script

    hi
    how i can create multiple users (2000 users) using shell script with a common password .
    useradd is creating one user at a time.
    thanks

    I m new to solaris and scripting also.
    how i can write a script for this .

  • Create multiple user accounts

    How could I create multiple user accounts?...
    We have about 2000 students register every year and each of them will be given a user account

    I managed to create many users using the command
    imadmin -D serviceadmin n xxx.com -w password -i <inputfile>....
    the content of the input file
    l KA1000
    F new
    L user1
    W secret
    l KA1001
    F new
    L user2
    W secret
    so I have created 2 user accounts [email protected] and [email protected]....
    I have one more question to ask..how can I create new accounts which have different login id and email address using the input file....for examples for login id KA1000 the email address would be [email protected].
    I've tried this using ldapadd and it worked, so I would like to know wether imadmin command will work the same.....

  • WebTools Creating multiple users for the same User

    I had to make a few changes to a BP in SAP which will synch back into WebTools but now I am getting multiple users for the same contact. For example my user is cspehar_1 now in Webtools there are cspehar_1, cspehar_2, cspehar_3 and so on up to _8.
    This is occuring for several users in webtools.
    What causes this and how do I fix it?
    Thanks,
    Craig Spehar

    Hi Craig,
    There are two ways to cause this that I am aware of:
    1.  Change the "Business Partner Synch Contacts Field" setting after the initial synch.
    2.  Change the Web UserID on the BP contact in B1 (OCPR.U_PRX_SID).
    After that, update the user in WT  and synch. (might also happen if  you update the BP in B1)
    Since the synch is using the OCPR.U_PRX_SID to identify the contact, it will not be able to find it in B1 if the U_PRX_SID has changed.  When it does not find it, it assumes it needs to be created.  This results in a duplicate.
    The solution is to reset the U_PRX_SID back to what it was or set the synch contact field back to what it was.
    Then delete the last created duplicate contact from B1.
    There may be further data corruption issues here.  If orders/quotes/opportunities or other dependant data has synchronized referencing the duplicate user, these data will need to be correct as well.
    FYI, whatever caused this was probably at the root of your order problem as well.

  • OS creating multiple user/library folders - need help

    My computer has decided on it's own to revert back to it's original default settings causing me to lose all the changes that I have made, as well as forcing me to redo the set-up procedures for Mail, Safari and other browsers and applications. This is happening every day after I log off. In looking around for answers I found that Home/User is creating multiple libraries as I keep resetting the computer. I now have 8 library folders all with different contents. I'm sure this is why the computer is reverting to default. Do I delete the extra folders? How do I know which is the one to keep? The one with the most items? I was poking around the apps and other sections, but I don't remember moving or changing anything. I will have to start over again tomorrow and I will then have 9 folders. I would really appreciate someone to help me out of this dilemma.
    iMac Intel   Mac OS X (10.4.9)   I have DSL and had a phone line repair shortly before the problem started

    It's the same with me. Just discovered, I have 15 additional users created. I'm most eager to learn why this is happening because I have not been able to 'auto login' using my own account.

  • Creating Multiple Users in AS Portal using PL/SQL

    Hi Guys,
    I am very new to Portal and I was wondering if there was a way to add multiple users to Portal using a PL/SQL API?
    I have found an API called wwsec_api which has a function add_portal_users but this doesnt seem to work when I try to add a user.
    Any help is much appreciated
    Thanks
    -Mark

    The users are created in OiD, not in Oracle Portal. Oracle Portal just uses OiD similar to other products.
    The following note on http://support.oracle.com provides information about creation of users in OiD both through PL/SQL and Java :
    Note 277771.1 - How to create a new user in OID using the programmatic interfaces
    For Portal, is is important that the users are created below the user search base configured in your Portal application. This is normally something like cn=Users,dc=<your domain>, e.g. cn=Users,dc=acme,dc=org.
    Hope this helps,
    EJ

  • Creating Multiple User Self Registration Profiles

    Hi,
    We have a requirement where we need to have multiple self registration request templates. The organization has external contractors for which different data need to be taken. We have created multiple request templates, can anyone guide as to how i can replace the default request form with my newly created request templates.
    Thanks.
    UZ

    Hi,
    Okay problem solved. What I have done is to create the user with a standard password and then login as that user and change the password using dbms_ldap to the password they selected. I then go on and make the other changes and login to sso.
    Have tested this with the pwdMustChange option turned on and it works a treat!
    Great, thanks for the help though.

  • Creating multiple users for an apex application

    Hi,
    I have an application deployed on apex 4.0. For my application currently there is only one default user having the same username / password as the workspace which this application is a part of. However, I need to have multiple users to be able to segregate roles. I have created a table with the required users and corresponding passwords, however, am unable to ,make the login page reference this table instead of the default username and password it currently does. Can someone please help me out.
    Thanks a lot.
    Gourab

    Hi,
    If you install demonstrative application to your workspace, you can see example how use custom authentication.
    This might also help
    http://www.oracle.com/technology/oramag/oracle/09-may/o39security.html
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/concept.htm#sthref96
    http://download.oracle.com/docs/cd/E17556_01/doc/appdev.40/e15516/build_app.htm#sthref132
    Br,Jari

  • Creating multiple users

    For testing purposes, I'd like to have multiple usernames to
    test permissioning and other capabilities. What is the recommended
    way to set this up?
    Thanks,
    Rick

    You can create another AdobeID using a different e-mail
    address and use as your second login.
    One thing to notice, though, is that when using the
    AdobeHSAuthenticator there is no difference between a user with an
    AdobeID that is not the account/room owner and a named guest. Both
    will enter the meeting as guest and get promoted if you allow it.
    If you want to experiment with different roles (because your
    application uses more than the standard roles provided by Cocomo)
    or you need to test with users with a "permanent" user ID you
    should look at external authentication, where you create your users
    and assign them the userID and role that you require.
    The SDK comes with an example
    (sdk/examples/ExternalAuthentication) that may help you (look at
    the java or php code: they show a basic server-side application
    that generates the authentication tokens using the name and role
    that you set)

  • Creating multiple user tables using script

    hi
    my requirement is i want to create multiple tables by running script . is it possible .how do i do that can any one suggest me and send sample code to solve this task.
    (i have to create 100 userTables it is very difficult to create using code or from B1 that is my requirement )and i think some good solution is there for my problem and inserting the tables into B1 by running script.

    Hi Om,
    Take a look at the SDK help files, or even better, the examples provided with the SDK, they give you a good example how to create a usertable.
    Tried that, you could programm a loop wich creates your usertables, or a function that progresses a input file containing all your usertables.
    <b>Pseudo code loop (C#)</b>
    for(int i = 1; i <=100; i++)
      /* Call you your function that creates a usertable with the given name */
      CreateUserTable("TBL_" + i.ToString());
    Hope it helps,
    Rowdy

  • Administration : create multiple users

    Hello everybody
    Can we create users with a console command or batch function ?
    Because, I've to create new users in parrallele with an another database of users and I can't manage this operation with the user interafce provided by "/adminiui..." ( 50 000 users... )
    So, can we do this ?

    Hello,
    LiveCycle can be synchronized with one or more third-party user directories, LDAP etc...
    The documentation for this can be found at:
    http://livedocs.adobe.com/livecycle/8.2/admin_um/wwhelp/wwhimpl/js/html/wwhelp.htm?&access ible=true
    The configuration is performed at:
    Home > Settings > User Management > Domain Management > New Enterprise Domain
    - Add Authentication - First choose your Authentication Provider (LDAP, Kerberos, Custom)
    - Add Directory - configure
    _Seth

  • I was told by the Apple store to create multiple user ids to control the content on my iphone. I did that and now I cannot find my original library with all of my playlists

    I was told by the Apple store to create separate user ids on my windows computer to create a new library to control the content on my iphone. I held down shift and clicked i tunes and created the library. I was told you can switch back and forth. I cannot find the old library and all of my playlists. Apple really needs a better way for families to manage their libraries and devices. This is such a pain in the butt!

    No, as I stated in the post this is the first issue we've had with the phone. No, this was not a replacement phone, this is the same phone I bought from the apple store in December and had not been serviced by anyone, it did not have any issues until last week.

  • Creating multiple users - keychain troubles

    I have decided to create seperate user accounts for each of my kids (2). I am the administrator. In both of the kids user accounts, I get repeated dialogue boxes asking for a keychaing password. One example I just got in my sons account reads: "Safari wants to use keychains login". I type in his password and am told it is invalid. I type in mine (as the admin) and am told it is invalid. This happens not only in Safari. It also occurs in my daughters account - but not mine. Any thoughts/suggestions? Thanks in advance....Karen

    Hi,
    I'm sorry for posting picture, and thanks for the reply.
    The script I used was on the picture I posted yesterday, in any case I'll just type it here
    Import-Module -Name ActiveDirectory
    Import-Csv -Path "C:\Users\Administrator\Desktop\users.csv" | ForEach {New-ADUser
    -GivenName="$_.First_Name"
    -SurName="$_.Last_Name"
    -UserPrincipalName=("$_.User_name"+"@jesyang.local")
    -AccountPassword=(ConvertTo-SecureString -AsPlainTect "P@ssw0rd" -Force)
    -ChangePasswordAtLogon=$true
    -Enabled=$true}
    Result:
    Powershell is asking me to supply a value for parameter.
    Now I got my script working. Instead typing the codes on vertical manner, I just type all throughout like this (though i made little changes on the script):
    Import-csv "C:\Users\Administrator\Desktop\users.csv" | ForEach-Object {New-ADUser -Name $_.Name-GivenName $_.First_Name -Surname $_.Last_name -UserPrincipalName ($_.User_Name + "@jesyang.local") -SamAccountName $_.SamAccount-AccountPassword
    (ConvertTo-SecureString -AsPlainText "P@ssw0rd!!" -Force) -ChangePasswordAtLogon $true -Enabled $true -Path "CN=Users,DC=jesyang,DC=local"}
    Is writing powershell script should be continuous?
    akosijesyang - the conqueror
    Please read the above responses very carefully.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • No sound on Satellite Pro A120 with Windows Vista

    Hi I have had to reinstall my Vista operating system and rebuild my A120 Satellite Pro from the revovery disk. Most things are fine but I cant get any sound from the speakers of headphine jack. I have checked andit says that the Realtek High Definiti

  • Required components for Forms&Reports 11.1.2 with SSO support

    Hi. Dont know if this is the right forum but I would like to know if any of you has an experience in integrating Forms&Reports 11.1.2 with Oracle Access manager. I am in process of upgrading Oracle Forms&Reports 10g configured to use single sign-on t

  • How much data does facetime use on my ipod 4

    My ipod touch 4g wgen i go to settings it says. 7.1gb available and 6.6 gb used but mine is a 16gb and when you add it up its only 13.7  and i think it has something to do with facetime cause i call like every day and it  lasts for pike one hour and

  • IO error: Socket output stream shutdown by peer when trying to import DCs

    Hi, I am getting this error when trying to import DCs. com.sap.lcr.api.cimclient.CIMClientException: IO error: Socket output stream shutdown by peer I am specifying the SDM host, similar to J2EE URL I guess along with SDM port in Development configur

  • Imported Archive Class Conflicts

    I am using a JAVA user defined function within a message mapping. The JAVA function class requires classes in two reference libraries org.apache.commons.collections and org.apache.commons.beanutils. When I try to import these two jar files as archive