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

Similar Messages

  • 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 .

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • 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.....

  • Creating a report in EP portal using Web Dynpro

    Hi all,
            Can anyone guide me how to create a Report in EP portal using Web Dynpro.
    Regards,
    R.V.Easter

    Hi,
    You should read the documentation ([Web Dynpro ABAP: Development in Detail|http://help.sap.com/saphelp_nw70/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm]) and study the tutorials : [Go and Create First Application with Web Dynpro ABAP|http://help.sap.com/saphelp_nw70/helpdata/en/e6/2c4b29dc87c6409d6469ec390e8f3d/frameset.htm] and [Creating a Simple Flight Info Application|http://help.sap.com/saphelp_nw70/helpdata/en/e6/2c4b29dc87c6409d6469ec390e8f3d/frameset.htm].
    Regards,
    Pierre

  • 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.

  • 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;

  • 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

  • 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.

  • How to configure Airport Extreme AFP disk sharing to host multiple users' home-directories (Lion, using autofs)

    I have this working, but only by completely bypassing access control, using guest access with read+write permissions.
    Do I need to buy Lion Server, to do this. All my past unix/linux experience says Lion Server should _not_ be necessary.
    This seems like a simple & obvious setup objective, but it is proving to be harder than I would imagine.
    Setup:
    multiple users, sharing two mac mini's running OSX Lion
    connected to an Airport Extreme (4th gen) with a USB disk shared (either via disk password, AEBS password, or using AEBS user's passwords).
    After much experimentation and web research, I finally have managed to get the mini's to auto mount the Airport Extreme's AFP shared USB disk. Well almost... It only works if, on the Airport, I set the guest access permissions to read+write and select the "Secure Shared Disks" method to "With disk password" or "with Airport Extreme password".  In other words, it only works if I essentially bypass/disable access control by using the guest authentication mechanism to the AFP shared disk.
    On the Lion side of this, I am automounting the users directories via "autofs". The config files for this are
    /etc/auto_master:
    # Automounter master map
    +auto_master            # Use directory service
    /net                    -hosts          -nobrowse,hidefromfinder,nosuid
    /home                   auto_home       -nobrowse,hidefromfinder
    /Network/Servers        -fstab
    /-                      -static
    /-                      auto_afp
    /etc/auto_afp:
    # Automounter AFP master map
    # https://discussions.apple.com/thread/3336384?start=0&tstart=0
    /afp/users -fstype=afp afp://;AUTH=No%20User%[email protected]/Users/
    Then, after rebooting and verifying read+write access to the /afp/users directories, I change each user's home directory: In System Preferences > System > Users & Groups, I right-click over the users to access the Advanced Options, changing the Home directory field to point at the AFP-mounted /afp/users/Users/* home directories.
    I experimented with alternate UAM specifications, as well as both OSX and AESB users & passwords. Using guest access is the only thing that has worked.
    Any pointers would be appreciated...

    Based on lots more experimentation which confirms the information in a parallel discussion (cf. Automount share as non ROOT or SYSTEM user! https://discussions.apple.com/thread/3221944), I have concluded that the Lion 10.7.2 implementation of AutoFS mechanism is broken. I submitted a bug report via apple.com/feedback.
    Work arounds..?
    Earlier I wondered if installing Lion OSX Server was necessary.  The more I contemplate this, the more I am convinced it _should_not_ be necessary. The client-server architecture is clear: my mac's are the file-server client's and the Airport Extreme is supposed to act as the file server. The only thing instaling Lion Server would do (besides enriching Apple.com) is enable me to configure one of the mac's as the file server. This would require it to be "always on" (thus enriching my electric utility as wel).  Okay, an additional benefit would be configuring software RAID disks attached to the Lion server, but Time Machine has worked fine for me in the past, backing up to disks mounted on the Airport Extreme.
    One solution is to create a disk partition for each user and instruct each user to connect / authenticate to the Airport Extreme AFP share at login.  The multiplicity of partitions is necessary since the first user to mount the AFP share, takes ownership of it, blocking other users from accessing that disk partition.  A user can "steal" ownership by reconnecting, but this will leave the other user's applications & open files dangling.
    This disfunctional situation really *****.  Before instaling Lion, I put a 64 GB SSD (solid state disk) in each of our mac's. I did this expecting to easily configure the /Users/* data on external networked storage. I'm having a dejavu "Bill Gates"-ware moment; problems like this were why I abandoned Windoz.
    I will make a few more experiments using the depreciated /etc/fstab mechanism.  Maybe that will bypass the broken-ness of AutoFS...? Alternately, I guess I could also try to run Kerberos authentication to bypass whatever is broken in AutoFS, but that would require a running a Kerberos daemon somewhere.  Possibly I could configure a Kerberos service to run on both my mac's (without installing Apple's Lion Server)...?
    Stay tuned...

  • Not able to create J2EE user DDIC in portal

    Hi All,
    I am trying to configure the BI 7.0  system in EP 7.0. My systems are running on Windows 2003 32 bit edition. SP level is SPS11 & SP10
    I have configured the UME where datasource is ABAP system. After using the supportdesk tool I am getting the below three erros in the system.
    Import of Web Templates in active version will fail because the J2EE user DDIC is not properly mapped to an ABAP user other than DDIC Maintain a user mapping for J2EE user DDIC - see note 945055 for details
    Check could not be executed because retrieval of WebAS ABAP settings failed Check connectivity to WebAS ABAP and make sure the ABAP coding correction from note 937697 is applied in the latest version available
    Check could not be executed because retrieval of WebAS ABAP settings failed Check connectivity to WebAS ABAP and make sure the ABAP coding correction from note 937697 is applied in the latest version available
    To resolve these issues i tried to create user id DDIC in portal but I am not able to create it. It is giving below error
    A user with the specified logon ID already exists; choose a different, unique logon ID
    As it is trying to create this user id in ABAP datasource. Please let me know how to create DDIC in J2EE engine where ABAP is the datasource.
    Please help me resolve this issue.
    Thanks,
    Shambo

    Hi,
    In defaulttrace.trc I am getting the below errors
    #1.5#00055D4A98DC0061000004BC00001610000460FCEAE15F00#1232539295495#com.sap.ip.bi.preexecutionservices.PreexecutionservicesRfcService#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.preexecutionservices.PreexecutionservicesRfcService#Administrator#9873####403302b0e7b311ddbd4500055d4a98dc#SAPEngine_Application_Thread[impl:3]_27##0#0#Fatal#1#/Applications/BI#Plain###Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: SAX Exception
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: SAX Exception
         at com.sap.ip.bi.webapplications.runtime.preexecution.impl.PreexecutionDispatcher$DocumentAnalysis.createMutableDocument(PreexecutionDispatcher.java:93)
         at com.sap.ip.bi.webapplications.runtime.preexecution.impl.PreexecutionDispatcher.validateDocument(PreexecutionDispatcher.java:571)
         at com.sap.ip.bi.preexecutionservices.PreexecutionservicesRfcService.handleRequestForRSWR_PREEXECUTION_PROXY(PreexecutionservicesRfcService.java:109)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.handleServiceRequestGeneric(BIServicesRfcDispatcherService.java:283)
         at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:177)
         at com.sap.ip.bi.portalrfc.services.BIRfcService.handleRequest(BIRfcService.java:235)
         at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:341)
         at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
         at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0_0.processFunction(PRTRFCRemoteObjectImpl0_0.java:118)
         at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
         at $Proxy119.processFunction(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:59)(:main:, row=1, col=59) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:59)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at com.sap.ip.bi.webapplications.runtime.preexecution.impl.PreexecutionDispatcher$DocumentAnalysis.createMutableDocument(PreexecutionDispatcher.java:85)
         ... 28 more
    Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:59)
         at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1590)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1710)
         at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
         at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:165)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         ... 30 more
    #1.5#00055D4A98DC0061000004BF00001610000460FCEAE18738#1232539295511#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.base.application.message.impl.MessageBase#Administrator#9873####403302b0e7b311ddbd4500055d4a98dc#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#/Applications/BI#Plain###A message was generated:
    ERROR
    Transformer exception while transforming BEx Web templates
    com.sap.ip.bi.deploytime.BISP2Jsp SAPXMLTransformer
    SAX Exception
    Transformer exception while transforming BEx Web templates
    com.sap.ip.bi.deploytime.BISP2Jsp SAPXMLTransformer
    SAX Exception#

  • 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.

  • User Creation In portal Using NWDS

    Hello Experts
    Is there any way we can create a job in SAP Netweaver Portal using NWDS for the user creation.
    Any pointers will be extremely helpful as I am new to this.
    I am using SAP Netweaver 7.3 SP 09.
    Thanks
    Utsav Mishra

    Hi,
    You can use the sample code.You can create an  Abstract Portal component in  NWDS and write the required code inside of it.
    Users can be created with the UserFactory newUser() method.
    IUserMaint represents a modifiable user object. You must issue
            a commit() in order to actually create the user.
    An associated account needs to be created for the User with
            newUserAccount() using the UniqueID of the new User.
    Take care to delete the user if an error occurs (catch the
            appropriate exception and handle it).
    // Create User
    String uid = "testuser01";
    IUserMaint newUser = UMFactory.getUserFactory().newUser(uid);
    newUser.setFirstName("Test");
    newUser.setLastName("User");
    newUser.setEmail("[email protected]");
    newUser.save();
    newUser.commit();
    try
    // Create User Account
    IUserAccount uacc = UMFactory.getUserAccountFactory().
    newUserAccount(uid,newUser.getUniqueID());
    uacc.setPassword("secret");
    uacc.save();
    uacc.commit();
    // NOTE: productive passwords cannot be set if the
    // account is created in a SAP System
    // continue process by trying to set password flag…
    // Now try to modify password change flag for the new user
    try
    IUserAccount uacc = UMFactory.getUserAccountFactory().
    getMutableUserAccount(uacc.getUniqueID());
    uacc.setPasswordChangeRequired(false);
    uacc.save();
    uacc.commit();
    catch (UMException ex)
    //trace warning: “Password is not productive and has to
    // changed during the first logon”.
    catch (UMException umex)
    UMFactory.getUserFactory().deleteUser(newUser.getUniqueID());
    //trace error: “User cannot be created because of an
    // error which occurred during the creation of the
    // corresponding account object”
    You can refer to the below URL for abstract portal component
    Creating an AbstractPortalComponent (SAP Library - Running an Enterprise Portal)
    Please reply in case you have any queries.
    Regards
    Veera

  • 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.

Maybe you are looking for

  • Hard Drive not recognized when booting from XP CD on docking station

    The hard drive on my X60 failed to the point where I couldn't recover and reinstall the image. I have backups of all my data and a docking station so I didn't sweat it. Bought a new drive and installed it and this is when the trouble began. I created

  • I am trying to setup a new external hard drive as my Time Machine

    I purchased a new 4TB external hard drive to store my stuff on.  I have formatted the hard drive to work on my iMac but i cannot get it to successfully sork with Time Machine.  I have tried anything and everthing that I could find on the matter and c

  • Brand new nano having trouble updating, maintaining song permissions

    My mom got a brand new 4g nano for Christmas. We brought it down to her computer, which is running Windows XP 2003 with update package 3. We cannot get the ipod and itunes to work together. Here are some of the problems: - My mom bought two songs fro

  • Linux 3.9 VPN Client

    Anybody have any success connecting to a BM 3.8.5 VPN server (C2S) using this client? I've setup a SLED 10 box patched to the hilt and installed the latest Novell Client for Linux as well as the VPN client (installed and configured as per the documen

  • Aperture purchased in app store does not show in purchased list.

      It shows as INSTALLED if looking at the app on it's individual page, but can't redownload it when it is not in the purchased list.  How do I fix this? It crashes on launch and I can't reinstall it.  If I move the app to the trash, the indivual page