How to move an object in LDAP

I apologize for asking a really simple question that has likely already been answered here, however I find the forum search lacking in usability. So, here's the simple question...
I am using JDNI to connect to and modify objects in LDAP. When I am done with an object, I am supposed to move it to a delete container. How does one do that with JDNI?
old DN: "cn=testData,ou=Ext,ou=People,o=mygroup"
new DN: "cn=testData,ou=Cleanup,o=mygroup"

So my wise co-worker and I figured it out. You create an LdapName that points to your object, then create an LdapName that points to where you want it to go. Then call context.rename(oldname, newname)
old DN: "cn=testData,ou=Ext,ou=People,o=mygroup"
new DN: "cn=testData,ou=Cleanup,o=mygroup"
ctx.rename(oldDN, newDN);
Edited by: tailbon3 on Apr 23, 2009 10:46 AM

Similar Messages

  • How to move the objects from Infoarea to another?

    Hi,
    How to move the objects from Infoarea to another?
    Thanx in advance,
    Ravi.

    Hi ..
    If the drag & drop functionality is enabled you can drag the catalog and drop it in another InfoArea just as you do with files on your PC.
    The other procedure is Use the right mouse button to create an InfoObject catalog in the InfoArea. If you want to make a copy of an existing InfoObject catalog, specify a reference InfoObject catalog.
    and check this  thread
    Re: Info Object Mapping to Info Area

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • I need step by step instructions on how to move an object from one photo to another photo - in Photoshop CC 2014.

    How do you move an object in one photo to another photo in Photoshop CC 2014

    In the document with the object select the object  and use copy (Crtl|CMD+C) then in the other image document use  paste (Crtl|CMD+V).
    However its not a move its a copy the object is still in the original image.  (Crtl|CMD+X) instead of (Crtl|CMD+C) would cut the object out of the first image but leave a hole there that you would need to fill with a replacement to complete a move.

  • How to move a object

    for drawing i m using graffiti library
    http://nocircleno.com/apps_games.php
    now i want to move each object .
    like if user can darw two line
    and user want to change the position of line user can change the the line postion by drag and drop
    but i m not able to seleect the object.

    Actually this works fine depends on value of movement.
    >
    MoveRelativeILG(itemRef,0,-10);
    >
    This works fine when the story is horizontal.but
    >
    MoveRelativeILG(itemRef,-10,0);
    >
    This doesn't work.
    (Undo command executes automatically???)
    Next problem is how much a inline object can go up/down.
    I don't know how to get bounds data of a inline object.
    I will report if it succeeds.
    Thanks.
    -Satoru Fujimori

  • How to get Request object and LDAP user

    Hi All,
    How to get Request object, coz i want to see the out put of this code
    IUser myUser = request.getUser();
    String uid=myUser.getUid();
    I want to get only LDAP user from the server, for that i am having  code but i think this code is returning me all user from the server.
    com.sap.security.api.IUser user = null;
    try {
          IUserFactory userFactory = UMFactory.getUserFactory();
         IUserSearchFilter searchFilter = userFactory.getUserSearchFilter();
    ISearchResult searchResult = userFactory.searchUsers(searchFilter);
       int count = 0;
        List list = new ArrayList();
         while (searchResult.hasNext()) {
                      count++;
                       String uniqueid = (String) searchResult.next();
                        user = userFactory.getUser(uniqueid);
                        list.add(user.getUniqueName());
    This code is giving me all user from the server LDAP and as well as portal user.
    But i want only LDAP.
    Please help me out. It's urgent.
    Regards,
    Deepak

    Hi
    use the following code
    //Request
    IWDRequest = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    //User
    IWDClientUser = WDClientUser.getCurrentUser();
    Regards
    Ayyapparaj

  • How to: Move an object with your finger

    Hi guys, please have a look at this link: http://www.youtube.com/watch?v=eg4u0aZEwvc&feature=g-upl&context=G2c94ba5AUAAAAAAAAAA
    At 0:49 seconds into the movie, the user is able to drag and drop objects, in this case thumb-nail images, and set them down in a different place on the app.
    Is this possible in DPS? If so, are there any tutorials available on how to do this, and where could I get my hands on those tutorials?
    Much appreciated

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

  • How to move an object with its animation path, without adding a new keyframe?

    Hi,
    If I create an object which has a keyframe animation, how can I change its location/scale without adding new keyframes? That is, I want to move the whole thing with all its animations & keyframes as a single entity.
    thanks
    Arun

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

  • Quick Help - How to move an object backward?

    I can't remember what it is called, but there is a way to move a layer (while in 3D mode) without changing the apparent scale of the layer. In other words move a object back without making it look smaller in frame. There is a way to do this, but I can't even look it up since I don't know what it is called. Anyone out there know how to do this?
    Thanks!

    In the HUD, command-drag on the first Move control. You'll see in the Inspector that scale is changing along with the Z-position value.
    A couple of caveats:
    1) The active viewport needs to be the Active Camera
    2) The comp size needs to match the size of your graphics
    3) If you first center the object's anchor point in the Canvas, it won't shift position.

  • How to move an object from one Transport Request to another TR

    Hi,
    I have created an object under one TR instead of Required TR.
    Now i need to move that object to apropriate TR.
    Please suggest me the way.
    Thanks,
    Sekhar.J

    Go to SE10 select the Request and press Include Objects button( a box with a arrow above it) and select freely selected objects and add your object to the request. Before doing this you may be required to delete the object entry from the source request.
    Regards
    Karthik D

  • How to move the objects of IR and ID to Production

    hi
    i have done a file to file scenario and i have  a doubt of how to move it to the prodn
    plz help me out
    (how to move the contents of SLD IR and ID to Production)

    Hi Jaya,
    This is very much possible, all that you have to do is, in the SLD, define transport targets. that is which Dev/ QA system corresponds to which production system.
    Please go through this help link and get to more on this...
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/content.htm
    Also have a look at this option of transporting using File System...
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/content.htm
    Regards,
    Abhy Thomas

  • How to move ab object ?

    hello everybody
    I made a simple wooden car object in 3d studio, exported it to ASE file and loaded to the scene using ASE loader
    http://img82.imageshack.us/img82/3306/samochodfv8.jpg
    thats the beauty =)
    now, I would like to move him using KeyNavigatorBehavior, from what i know i have to somehow connect the vieport with my car, unfortunatelly dont have a clue how to do that, could anyone help me out ?
    cheers, Lukasz

    Hi goldbridge,
    Ah, JavaScript. But we still don't know which version of InDesign you're using. I'll assume it's CS3.
    //Given a page item "myPageItem," perform a
    //move to an absolute location:
    myPageItem.move([12, 12]);
    Or:
    //Given a page item "myPageItem," perform a
    //move to a relative location:
    myPageItem.move(undefined, [12, 12]);
    Or:
    //Given a page item "myPageItem," perform a
    //move to page 2 of document "myDocument":
    myPageItem.move(myDocument.pages.item(1));
    Thanks,
    Ole

  • How to move PI objects in IR and ID from DEV to QAS

    Hi experts,
             I am new to PI and with lot of research and help from you all experts I could successfully create a scenario from XML to CSV conversion. I created message interface, interface mapping objects etc.. in "Integration Repository" and conficguration scenario, sender and receiver communication channels etc. in "Integration directory". Everything is working fine in DEV and now I want to move all these to QAS. I went through some documents on SDN and it was talking about XI track and CTS and I am so new to all these, I am not sure how to get started. Could someone please let me know the procedure of moving PI objects from DEV to QAS?
    Thanks.
    --Mithun

    Not to Worry Mithun Da!
    There are two ways to transport  ID and IR Object to transport .
    1. CTS + : Totally automated Way .,
    2. .tpz  : Manual  Lagacy Import / Import way .
    Now . Steps .are :
    There are two types of transport mechanisms in XI/PI.
    1.      File Transport System.
    Files are imported and exported into SAP XI OS Level for Development and Quality Server,
    This Process is risky as there is no automated system and there is no track record of imported or Exported Files,
    as in this syetem exported files are transported to QA System from DEV System.
    file Extension in file transport System : - .tpz
    2.     Through CTMS(Change Transport Managment System).
    GUI Based tool, Installed on SAP XI BOX, This system provides the automated transport system , which keep tracks of transported Objects and Failed objects.
    There are initial level efforts to set up transport system.
    Transport Procedure for Various System :-
    DESIGN OBJECTS ---> (ENTERPRISE SERVICE REPSITORY OBJECTS) -
    > INTEGRATION BUILDER.
    Step -I
    1. Select NameSpace to trasport.
    2. Right Click on NameSpace to Transport.
    3. Select Export Option.
    4. Check or Select the Software Component Version.
    5. Check the Mode of transport.
    CTS MOde:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF INDIVIDUAL NAMESPACE.
    5.2        Select Transort request.
    5.3      Finish the Process.
    TRANSPORT USING FILE SYSTEM:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF INDIVIDUAL NAMESPACE.
    5.2      Finish the Process.
    Step II
    1. GO TO TOOLS OPTION IN MENU BAR
    2. OPEN CTS TRANSPORT ORGANIZER
    3. Select the request to Release.
    4. Press Button Release.
    Step III( Steps to be Perform at Target System).
    1. Execute Transection Code STMS.
    2. Check your Transport Request Number.
    3. Focus on that Trasport Request Number Through Mouse.
    4. Now Import The Transport Request on Specific client of Target System.
    5.Click Ok.
    FINAL :-  NOw on Quality Server all Transported Objects Need to be activated.
    CONFIGURATION OBJECTS ---> (INTEGRATION DIRECTORY) -
    > INTEGRATION BUILDER.
    Step -I
    1. Select Configuration Scenario to trasport.
    2. Right Click on Configuration Scenario to Transport.
    3. Select Export Option.
    4. Check or Select the Configuration Scenario.
    5. Check the Mode of transport.
    CTS MOde:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF Selected Scenario.
    5.2        Select Transort request.
    5.3      Finish the Process.
    TRANSPORT USING FILE SYSTEM:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF Selected Scenario.
    5.2      Finish the Process.
    Step II
    1. GO TO TOOLS OPTION IN MENU BAR
    2. OPEN CTS TRANSPORT ORGANIZER
    3. Select the request to Release.
    4. Press Button Release.
    Step III( Steps to be Perform at Target System).
    1. Execute Transection Code STMS.
    2. Check your Transport Request Number.
    3. Focus on that Trasport Request Number Through Mouse.
    4. Now Import The Transport Request on Specific client of Target System.
    5.Click Ok.
    FINAL :-  NOw on Quality Server all Transported Objects Need to be activated( CHANGE OBJECTS).

  • How to move an object that is in many layers in to its own layer?

    Hello,
    I created a catalog where I have used layers but at that time didn't know that I will be creating another catalog of the same products for our wholesalers.  Anyway, now I have an object (QR Code) that is in many layers and I need to move it to its own layer where I can turn it on or off as needed. I have already created the layer but now I am not sure the quickest way to move the (QR code). I really need to learn how to use GREP in find and change, I sure it is possible with GREP but don't know the string to use.
    I would appreciate any kind of help I can get.
    Thanks,
    Omar

    Am I crazy, or is there a "Paste Remembers Layers" checkbox hidden somewhere in the preferences? Because when I have a bunch of objects that are all on separate layers, I simply Copy, Delete, and Paste in Place - and then they're all on one layer.
    I'm not crazy! It's in the options on the Layers panel. And it seems to be off by default.

  • How to move my objects from behind?

    Can somebody tell me how we can move "Tekst kopia" object instead of touching "Tekst" object?
    I checked a "Tekst kopia" and then I want to drag & drop this copy of my text. But when I do that, a "Tekst" objects makes chosen.
    I try even click by right mouse button on "Tekst" on the workspace and from selected list (then we will se a pop-up with their names) change "Tekst copy" and then move. But result was the same. How to do that?

    In the Options for the Move tool, make sure "Auto-Select" is NOT checked.

Maybe you are looking for

  • Looking for tips on a OC4J/JNDI lookup problem

    Hello All, I am running into a situation where a user I have setup in Oracle Enterprise Manager 10G Instance Level Security is not able to access our JNDI resources. We have tried providing all the roles(including administrators) to this user, but to

  • When I try to install 7.0.4 it says not on internet

    When I try to install 7.0.4 my iPad says I'm not on the Internet

  • Recording audio on the ibook G4

    What mic and software would you reccommend? Obviously using the internal mic to record long church services would not do the job. I do have an iMic, but it lacks a mic. Thanks, John

  • I accidently deleted my ap-manager interface How can I get it back? WLC440

    I accidently deleted my ap-manager interface How can I get it back? WLC4400 Thanks in advance.. admin_users 1 301 10.147.1.8 Dynamic No hvac 1 268 172.19.15.8 Dynamic No management 1 447 10.147.8.8 Static No nwlan 1 862 10.147.6.8 Dynamic No service-

  • Unplayed episodes oldest first not working?

    With 2.0, I seem to have lost the ability to listen to podcasts in My Stations from oldest to newest; I can't even list them oldest first, they all show up newest on top and are played from newest to oldest, which is not what I want. Any idea how I c