Assigning Portal Group to CAF Process

Hello Experts,
I want to assign portal group to caf process.
I am starting the process programmatically (Using Java Web Dynpro).
And also I dont want to assign user by user of the group to the process.
let me know if it is possible, and If Yes ( ) How ??
Regards,
Yogesh...

Hi Yogesh,
Yes, you can assign portal group to your process action.
If you test your process from GP directly, Wile assigning users to the actions. you will see an option to assign a group and a role too(by selecting that dropdown).
So if you directly pass the group name in your code while calling GP. It will assign all the users in that group for that selected action.
Hope this resolves your query.
Thanks,
Tejaswini

Similar Messages

  • Unable to assign User groups in Enterprise Portal

    Hi,
    We are using EP 7.0 with MS SQL on Windows 2003 Server. Recently we have changed the UME to IDES EHP4 System. We can able to create users in the backend system and can read but when we try to assign any groups to the user we are getting the following error,
    User attributes successfully modified
      You are not authorized to assign one or more entities. Perform a new assigned entities search to see the correct status.
    I am the administrator with full rights. Please help us, what is need to be done to resolve the issue.
    Thanks,
    Ajay.

    Hi,
    @Sukrut-
    We have already assigned the SAP_BC_JSF_COMMUNICATION role to the communication user but still getting the issue with group assignment. please find the default trace below.
    #1.5 #005056835CB600750000002100000B740004ABB31AFC209F#1314685646778#com.sap.security.core.wd.assignusermapping.AssignUserMappingComp#sap.com/tcwddispwda#com.sap.security.core.wd.assignusermapping.AssignUserMappingComp#Ajay#5914##EP70ULQ_E7Q_2951550#Ajay#b8bdc571d2d011e08434005056835cb6#SAPEngine_Application_Thread[impl:3]_16##0#0#Error##Java###An unexpected error occurred during retrieval of all backend systems available for user mapping for principal ''''.
    [EXCEPTION]
    #2#USER.R3_DATASOURCE.Ajay#com.sap.security.core.wd.exception.UmeUiException: java.lang.NoSuchMethodError
         at com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.handleThrowable(UmeUiFactoryCompInterface.java:2618)
         at com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getUserMappingSystems(UmeUiFactoryCompInterface.java:1637)
         at com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface.getUserMappingSystems(InternalUmeUiFactoryCompInterface.java:575)
         at com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface$External.getUserMappingSystems(InternalUmeUiFactoryCompInterface.java:912)
         at com.sap.security.core.wd.assignusermapping.AssignUserMappingComp.refreshSystems(AssignUserMappingComp.java:338)
         at com.sap.security.core.wd.assignusermapping.AssignUserMappingComp.setPrincipal(AssignUserMappingComp.java:287)
         at com.sap.security.core.wd.assignusermapping.wdp.InternalAssignUserMappingComp.setPrincipal(InternalAssignUserMappingComp.java:220)
         at com.sap.security.core.wd.assignusermapping.AssignUserMappingCompInterface.resetComponent(AssignUserMappingCompInterface.java:139)
         at com.sap.security.core.wd.assignusermapping.wdp.InternalAssignUserMappingCompInterface.resetComponent(InternalAssignUserMappingCompInterface.java:136)
         at com.sap.security.core.wd.assignusermapping.wdp.InternalAssignUserMappingCompInterface$External.resetComponent(InternalAssignUserMappingCompInterface.java:230)
         at com.sap.security.core.wd.maintainuser.ReadonlyDetailInterfaceView.onPlugDefault(ReadonlyDetailInterfaceView.java:169)
         at com.sap.security.core.wd.maintainuser.wdp.InternalReadonlyDetailInterfaceView.wdInvokeEventHandler(InternalReadonlyDetailInterfaceView.java:105)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)
         [Removed few extra lines to shorten the log -
    Ajay]
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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: java.lang.Exception: classname:[java.lang.NoSuchMethodError]message:[com.sap.security.core.umap.imp.UserMappingUtils.isReferenceSystem(Ljava/lang/String;)Z]
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:282)
         at com.sap.security.core.jmx.impl.JmxServer.handleThrowable(JmxServer.java:581)
         at com.sap.security.core.jmx.impl.JmxServer.getUserMappingSystems(JmxServer.java:420)
         [Removed few extra lines to shorten the log -
    Ajay]
         at com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.getUserMappingSystems(JmxModelCompInterface.java:768)
         at com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.getUserMappingSystems(InternalJmxModelCompInterface.java:497)
         at com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface$External.getUserMappingSystems(InternalJmxModelCompInterface.java:768)
         at com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getUserMappingSystems(UmeUiFactoryCompInterface.java:1635)
         ... 56 more
    Caused by: java.lang.NoSuchMethodError: com.sap.security.core.umap.imp.UserMappingUtils.isReferenceSystem(Ljava/lang/String;)Z
         at com.sap.security.core.jmx.impl.JmxUserMappingHelper.getUserMappingSystems(JmxUserMappingHelper.java:123)
         at com.sap.security.core.jmx.impl.JmxServer.getUserMappingSystems(JmxServer.java:417)
         ... 77 more
    @SujiRam-
    We can see the group in portal and we are getting same issue for all the portal groups not particularly for one grp assignment. We are not using LDAP for EP.
    Please suggest-
    Thanks,
    Ajay.

  • Assigning Portal Users to Groups

    Hi,
    Is there a way we can assign portal users to portal groups through a sql or through a form interface? Right now, it is only possible to create users and go into individual groups and assign users to them. If a user should belong to multiple groups, then we need to go into each and every group and assign the user. Instead of this, is it possible to write a query or create a form interface and assign the user to all groups that he belongs to?
    Thanks for your response.

    Dear Hassan,
    Need a clarification. If users are assigned to a group in LDAP, Can you see the same thing reflecting in portal?
    I have configured LDAP as UME and I am able to see a group of LDAP appearing in Portal. But when I see the list of users assigned to this group, its empty.
    Any clues or suggestions.
    Regards,
    Sreeram

  • Related to Process task assignment to Group

    Hi,
    I have one RO : for eg. Laptop
    Process definition for this task and in process definition I have added one process task create user ..
    and I am asigning this task to One Group.
    But that approval request goes to xelsysadm instead of group member.
    why is it so?

    I think you are confused between approval process and provisioning process.
    You have to assign the task to the required group in approval process.
    Since your approval request is going to xelsysadm i am assuming you have standard approval process.
    Assign the task in standard approval process to your group and the approval will go to your group.
    Hope this helps,
    Sagar

  • Access Portal groups in webdynpro ABAP component

    Hi Experts,
    I have a requirement to access portal group in web dynpro ABAP application and based on whether user is assigned to particular group or not further processing for application will be done.
    Are there any UME API or some other API's available to access portal groups in Webdynpro ABAP component?
    Thanks in Advance..!!
    Regards,
    Shruti Shah

    This might be a question better suited to the portal forum. The WDA Portal APIs do not have such functionality.  You might be able to take the Java Portal APIs and wrap them in a web service so that they are callable from ABAP.

  • How do I create portal groups dynamically?

    Has anyone written code to use the
    WWSEC_APP_GROUP_MGR.CREATE_GROUP procedure to create portal
    groups programmatically? I understand alot of what I'm supposed
    to pass, but some of these parameters are pretty obscure and
    obfuscated.
    I'm not sure this can be called like a normal (non-htp) stored
    procedure at all. I now understand nearly all of the
    parameters. Looking at the page source behind the Create Groups
    page, I see that many of these parameters are involved in the
    page generation itself, for example p_back_url being a variable
    that is probably attached to the action of "Previous" buttons
    that appear as you go through the process of creating a group.
    Here is my call:
    wwsec_app_group_mgr.create_group(p_groupname => 'X',
    p_description => 'TEST GROUP',
    p_db_role => 'DBA',
    p_hide_group => 'N',
    p_styleid => 6,
    p_group_id => y,
    p_siteid => 0,
    p_site_id => 1);
    where "y" is the nextval of the group sequence.
    Inserting SQLERRM into a table, I end up with this:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 323
    ORA-06512: at "SYS.HTP", line 860
    ORA-06512: at "SYS.HTP", line 975
    ORA-06512: at "SYS.HTP", line 993
    ORA-06512: at "PORTAL30.WWUTL_HTP", line 25
    ORA-06512: at "PORTAL30.WWERR_API_ERROR_UI", line 182
    ORA-06512: at "PORTAL30.WWSEC_APP_GROUP_MGR", line 2891
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWSEC_APP_GROUP_MGR", line 255
    ORA-01403: no data found
    I know that this procedure is responsible for generating the
    subsequent pages in the "create group" wizard. There's just no
    possible way to figure out how to use this procedure
    dynamically. I repeat we WILL NOT BE TYPING IN OVER 3500 GROUPS
    and 7000 USERS USING THE WIZARD. There must be a way.
    I don't want to just arbitrarily insert groups into tables
    behind the scenes without knowing what I'm doing. If this is as
    simple as inserting a row into wwsec_group$, wwsec_member$,
    etc., then great, but there's no way of knowing.
    Maybe an Oracle person can help me. Is there another API I can
    use, or is there a way to use this API as a stored procedure
    where I can just loop through a driving table to create a bunch
    of users and groups?
    I appreciate any help. I need to create over 3000 groups based
    on my client's organization. We REFUSE to do this by hand using
    portal's interface. Not that it's bad, it is just impractical
    in this instance.
    Adrian Klingel

    Never mind.

  • How to find out the users assigned tasks within a GP process using GP API?

    All,
    I am trying to get details of all the running GP processes. As a part of this, I need to get the user information of who is assigned a task within a process.
    Any inputs on this ?
    Do I have to use the IGPProcessRoleInstance interface? Also how do I get the execution context of all the callable objects within the process?
    -Thanks in advance
    KN

    Hi Chandan,
    I am basically looking for the roles responsible for each task in the process.
    I get the below exception when I execute the code provided by you.
    <i>com.sap.caf.eu.gp.exception.api.GPEngineException: No active version of the given development object existscom.sap.caf.eu.gp.exception.api.GPEngineException: No active version of the given development object exists at com.sap.caf.eu.gp.exception.impl.ExceptionUtil.convertTo(ExceptionUtil.java:36) at com.sap.caf.eu.gp.process.impl.GPProcess.getActiveTemplate(GPProcess.java:116) at com.sap.caf.eu.gp.process.dt.impl.GPDesigntimeManager.getActiveTemplate(GPDesigntimeManager.java:276) at com.sap.caf.eu.gp.process.dt.impl.GPDesigntimeManager.getActiveTemplate(GPDesigntimeManager.java:269) at com.bp.cmd.wd.GPReporting.getOverdueProcesses(GPReporting.java:346) at com.bp.cmd.wd.wdp.InternalGPReporting.getOverdueProcesses(InternalGPReporting.java:184) at com.bp.cmd.wd.GPReportingView.onActionSubmit(GPReportingView.java:145) at com.bp.cmd.wd.wdp.InternalGPReportingView.wdInvokeEventHandler(InternalGPReportingView.java:169) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:746) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:255) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) 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)</i>
    I guess this is because there is no active version of the process available now. Any inputs on this and how to avoid this ?
    -Thanks,
    KN.

  • Creation of Campaign Id and assign Target Group to it.

    Hi all,
    I am facing a problem in creating a Campaign Id. This is the first time i am working on CRM Marketing Campaign, and i dont know the process of creating a Campaign id for a Target Group created for BP's. Please do help me in providing me any program or link where i can find the sample programs for creation of campaign id, Campaign Element, Profile Set, Target Group, Assigning BP's to Target Group.. I am presently using the below mentioned function modules/BAPI's for creation of Profile Set, Target Group etc.,
    For Profile Set Creation:                                         BAPI_PROFILESET_CREATE
    For Target Group Creation:                                    BAPI_TARGETGROUP_CREATE
    For Assigning Target Group to Campaign:             MKTPL_TGGR_ASSIGN_CREATE
    for Campaign Element:                                            MKT_ELEMENT_CREATE
    Please provide me complete program to explain the above.
    Thanks in Advance,
    Nagesh Thanneeru.

    hi,
    Target group is a group of BP, like a BP list.  It's a kind of master data which can be used in business transaction.
    And profile set is a base of target group, just like Product Hierachy and Product category.  Each target group should belong to a profile set. So create the profile set, before you create target group.
    Campaign is a kind of Marketing element of CRM Marketing.  In campaign, it need the BP or BP group or Target Group as its campaign objectives. Just like Customer of Sales Order, Vendor of Purchase order.
    Campaign can be assigned several target groups or BP or BP groups in it.
    So if you want to create campaign and assign target group to it, the steps is:
    1.  create a profile set  by BAPI_PROFILESET_CREATE
    2. create target group by BAPI_TARGETGROUP_CREATE, in this calling, you will use the profile set created before.
    3. create campaign by MKT_ELEMENT_CREATE
    4. assign the target group to your campaign, by MKTPL_TGGR_ASSIGN_CREATEl, the target group comes from step 2, the campaign comes from step 3

  • Regarding : How to add a user to portal group with the help of webdynpro .

    Hii ,
    I am working on an application in which with the help of an action( Button)  we r adding a user in Ztable in R/3 , as well as  group in portal.
    The user r successfully creating in Ztable but from portal side No user is assigned to Portal group.
    I need coding solution for " How to add a user to portal group with help of webdynpro"
    Any usefull link will also do.
    Pls anyone have any solution ??
    Thnks in advance.
    Rewards r waiting for u .

    Hi,
    Use UME api to add user to portal group.
    Using UME API:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d562b7-1405-2a10-dfa3-b03148a9bd19
    Regards,
    Naga

  • Unable to delete Portal Group

    Hi Portal Knowledgeable ones.
    I get an exception when I attempt to delete a portal group. 
    <b>My first question is where do I look to find more information about the exception that was returned (eg; a log file)?  I can't click on it to see more details.</b>
    My guess is that I am getting this exception because of some existing "reference" to this group inside the portal.  No users are assigned to it.  No roles or other groups are contained in it.  However, I'm not sure if there is a folder permission tied to that group.
    <b>Is there some way to see where "customized folder permissions" exist?</b>  Otherwise, I'm stuck with looking at the permissions of every Portal object individually.
    Thanks
    Kevin

    Hi Kevin,
    <b>Ques 1)</b> My first question is where do I look to find more information about the exception that was returned (eg; a log file)? I can't click on it to see more details.
    <b>Ans:</b> Yes you can view the log file through log viewer.
    Please find the Visual Administrator in you installation directory. Visit:
    <b>usr\sap\P66\JC00\j2ee\admin\go.bat.</b>
    run this batch file and in the services see the log viewer. There you can view log information.
    or if you want to view the trace file directly then visit the path:
    <b>usr\sap\P66\JC00\j2ee\cluster\server0\log</b>
    there you will see the .trc file. Open the file and see the logs.
    <b>Ques 2)</b> Is there some way to see where "customized folder permissions" exist?
    <b>Ans:</b> For this you can write a code to check the permission of the portal object. There are various API's provided by SAP to check the properties and permissions of the Portal objects.
    I hope this will help you.
    Regards
    Praevsh
    PS: Please consider rewarding points if helpful.

  • How to fetch all the portal groups into dropdown through webdynpro Java App

    Hello All,
    I have a requirement where I have to fetch all  the groups available in user administrator in portal into a dropdown, so that the admin can select the group from the dropdown and after that when he executes a button u201CGet Detailsu201D he must be able to get the list of users who has been assigned that group .
    I need to achieve this through WebDynpro Java.
    Any pointers or documents on this is very very helpful.
    Thanks,
    Manasa.
    Edited by: Manasa Boyapati on Sep 12, 2011 7:25 AM

    Hi,
    Can you try using the below code ?
    IUser uid = UMFactory.getUserFactory().getUserByLogonID(Userid);
    Iterator groups =  uid.getParentGroups(false);
    while (groups.hasNext())     
      String str_grpname = (String)groups.next();
      IGroup Group = UMFactory.getGroupFactory().getGroup(str_grpname);
    ary_groups.add(Group.getUniqueName());
    Hope you can achieve you results by tweeking this..
    Regards,
    Vijay.

  • Starting a CAF process from UWL?

    Hi Guys,
    I can see list of workflow items from R/3 in my UWL in Portal. Now I want to start a CAF process from the workflow item and not any R/3 workflow. Is it possible? If yes how can it be done? I've referred to documents explaining how to call a BSP or MiniApp  or WebDynpro  for ABAP , but that is not my requirement.
    Any inputs/ pointers are welcome and would be rewarded suitably
    Thanks in advance.
    Best Regards,
    -Vaibhav

    Hi,
    Check this blog on Netweaver workflow capabilities,
    Workflow in SAP NetWeaver
    Hope this helps !
    Regards
    Srinivasan T

  • Assign Administrative group to an organization in OIM

    Hi,
    I have created one User Group called "IDMAdministrator" and added all the desired menu items to it. Now my requirement is whenever any organization gets created/added to OIM I want to assign this group as the "Administrative Group" of that organization by default.
    Can I have some rule or something using which I can preform this action?
    One thing I understood is, if I got to Design console and select "Xellerate Organization" resource object and add my group "IDMAdministrator" under the "Administrators" tab of this resource object.
    Now if I create an Organization in OIM then this organization will be having two administrative groups "SYSTEM ADMINISTRATORS" and "IDMAdministrator".
    But can I achieve this functionality using some rule or some other way?
    Thanks & Regards,
    Yash Shah

    Hi,
    Suppose I want to add the task in Organization provisioning process then can you please tell me what that task will contain? (do I have to create my own adapter and attach it to the task?)
    Please describe, if I want to write an entity adapter also then what i have to specify in that. Is any OOTB adapter available to add Administrative group to Organization?
    Can you please give answer in some detail, as i am not able to understood your suggested approach completely.
    Thanks & Regards,
    Yash Shah

  • Assigning Material Group per User

    Hi SAP Experts! =)
    Pls Help! does anybody have an idea how can I assign a Material Group per User. This is for authorization purposes. What I just know, is to Assign just one Material Group per user through Parameter ID MKL. This will only solve my problem if a User will only have access for a Single Material Group.
    Do you know a way how to Assign access for Multiple Material Groups? I would want to use this for the PR/PO process, so a User will only purchase Materials under his/her assigned Material Groups. =)
    Mik

    HI,
    Usually we give a star symbol for the authorisation object of material groups means the user is authorised for all the material groups.
    In case if you want to give multiple material groups for the user then we have to specify the material groups instaed of the star symbol.
    You can check the users authorisaion against the user ID in tcode SUIM.(Users with complex selection)
    Thanks & Regards,
    Kiran

  • Portal Groups Creation

    Hi
    We are preparing to import a Portal into our UAT environment for testing. As part of the creation of the Portal we have created a number of Portal Groups which we intend migrating. As part of this we will also like to create a ldif file to assign the various users to the relevant Portal Groups.
    Therefore I have 2 questions
    1) Is is possible to export the Portal as well as the Portal Groups ?
    2) Is there a way to assign users to Portal Groups using, for example, LDIF. We will have 10,000 users to assign so need to find a way of doing this automatically.
    Any help will be much appreciated?
    Kevin

    #!/bin/sh
    # This script is used to export users/groups and portal groups from a
    # source OID to a target OID. The import into the target OID is done by
    # the import_oid.sh script.
    # The script:
    # 1) unsets NLS_LANG, sets ORACLE_HOME
    # 2) ldapsearch (output to ldif file) all users
    # 3) ldapsearch (output to ldif file) all portal groups
    # 4) Remove 'authPassword' fields from the ldif for users
    # 5) Change the Portal ID in the portal groups ldif file
    echo "************************ BEGIN ************************************"
    echo - This script will export users and groups from OID to ldif files.
    echo - This script will modify the portal ID, remove authPassword fields.
    echo Use import_oid.sh to import users and groups to target OID.
    echo "************************ BEGIN ************************************"
    #variables
    oh=/oracle/10.2/infra10
    source_hostname=""
    port=""
    target_dir="/oracle/10.2/oid_mig/"
    log_file_users=export_users.log
    log_file_groups=export_groups.log
    old_portal_id=""
    new_portal_id=""
    orcladmin=""
    orcl_pwd=""
    group=""
    echo "Please provide the source LDAP hostname: "
    read source_hostname
    if [ "$source_hostname" = "MyOIDServer" ]
    then
         port=389
         orcl_pwd="OrclAdminPassword"
         base_dn="dc=MyCompany,dc=com"
    fi
    echo "Please provide the group you want to export (*=all groups, group1*, group2*,...)"
    read group
    #echo "Please provide the LDAP port: "
    #read port
    #echo "Please provide the orcladmin password: "
    #read orcl_pwd
    # You can find the portal ID through OID Admin console. Go to
    # cn=groups,dc=oracle,dc=com you will find the ID there.
    echo "Please provide the old Portal ID: "
    read old_portal_id
    echo "Please provide the new Portal ID: "
    read new_portal_id
    ORACLE_HOME=/oracle/10.2/infra10
    export ORACLE_HOME
    cd $ORACLE_HOME/bin
    echo ORACLE_HOME = $ORACLE_HOME
    PATH=$ORACLE_HOME/bin:$PATH
    export PATH
    #NLS_LANG=american_america.UTF8
    #export NLS_LANG
    unset NLS_LANG
    #exporting users
    echo ----- exporting users "cn=users,dc=MyCompany,dc=com" -------
    ./ldapsearch -h $source_hostname -p $port -D "cn=orcladmin" -w $orcl_pwd -L -s one -b "cn=users,"$base_dn "(objectclass=orcluserv2)" "*" > /oracle/10.2/oid_mig/users.ldif
    #exporting groups
    echo ----- exporting groups "cn=groups,dc=MyCompany,dc=com" -------
    ./ldapsearch -h $source_hostname -p $port -D "cn=orcladmin" -w $orcl_pwd -L -s one -b "cn=groups,"$base_dn "(objectclass=*)" "*" > /oracle/10.2/oid_mig/groups.ldif
    #exporting groups portal
    echo ----- exporting portal groups "cn=portal."$old_portal_id",cn=groups,dc=MyCompany,dc=com" -------
    ./ldapsearch -h $source_hostname -p $port -X -D "cn=orcladmin" -w $orcl_pwd -s sub -b "cn=portal."$old_portal_id",cn=groups,"$base_dn "cn="$group > /oracle/10.2/oid_mig/groups_portal.xml
    #removing authpassword fields from users
    echo ----- removing authpassword fields from users -----
    cat /oracle/10.2/oid_mig/users.ldif | grep -v authpassword > /oracle/10.2/oid_mig/auth_removed_users.ldif
    # changing the PORTAL ID from $old_portal_id TO $new_portal_id
    echo ----- changing the portal ID -----
    cat /oracle/10.2/oid_mig/groups_portal.xml | sed -e "s/$old_portal_id/$new_portal_id/" > /oracle/10.2/oid_mig/groups_mod.xml
    echo "***************************************** END *********************************************"
    echo Users have been exported to /oracle/10.2/oid_mig/users.ldif
    echo Groups have been exported to /oracle/10.2/oid_mig/groups.ldif
    echo Portal Groups have been exported to /oracle/10.2/oid_mig/groups_portal.ldif
    echo Users have authPassword removed in /oracle/10.2/oid_mig/auth_removed_users.ldif
    echo Portal groups have their ID changed by this script and new groups are in /oracle/10.2/oid_mig/groups_mod.ldif
    echo "***************************************** END *********************************************"

Maybe you are looking for

  • E-Business Suite 11i on Internet Explorer 8 running in Windows 7

    Hi Guys, Need your help IE8 keeps on crashing while using or accessing E-Business Suite. I already tried some of the workaround like copying the jvm.dll of the sun JRE1.6 to Oracle Jinitiator directory but still it is not working. Also I tried disabl

  • Installing software for my HP psc 1210 all-in-one printer on to my Mac?

    I have downloaded new software and drivers for my all-in-one printer. I am running OS X 10.5.2 on a 20" 2.16 GHz Intel Core 2 Duo. The computer recognises that a printer is present and I can print with no problems. The problem that I'm having is with

  • 32 bit version on a 64 bit OS

    Hi, I have been using SQL server now for a year (self taught). I have recently been given a new laptop by work and advised to install my own SQL Server from my MSDN subscription. I have however unwittingly installed a 32 bit version of SQL Server 201

  • Satellite Pro P100 Have to remove battery & reinsert to be able to Startup

    Hi there I have a new problem that's developed since I started using an Advent AC powered hub with my P100 satellite pro laptop. If I leave the AC powered hub plugged into my laptop & it's switched off for a while(off, standbay etc) then I get no res

  • Link to remote external page

    How would I create a page in Muse that links to a remote external link? This is for a real estate website that links to an MLS search function. So far, I've pasted this URL into a text box with no luck. Here's the URL I'm trying to link to: IDX Prope