Move Users from one OU to other on AD based on the OIM user profile attrs

Hi All
I am currently pre-populating AD User OU attribute based on the OIM User profile Location attribute. This is working as expected.
Now when the location changes, I wanted to move the user from the current OU to a different one based on the location provided. Here I am kind of stuck.
I think I can use access policies / User triggers to get this done, but is there any other approach / additional configuration for pre-populate.
Are pre-populate only for the first time User Provisioning?
Regards
user12841694

Hi Martin
For the above requirement we have used lookups and could accomplish the task.
However, I need a minor clarification here.
I have OU dependent on Location Code & I also have Users Home Directory[on AD process form] dependent on Location Code.
How should I use the User triggers to trigger both Change HomeDir and Change OU process tasks on AD User?
I will create a dummy task with name "*Trigger Location Dependents*" and always return a "TRUE" response in the integrated adapter.
Now upon true I will generate Change HomeDir & Change OU process tasks.
I will provide Trigger Location Dependents name aganist USR_UDF_LOCATION code in the triggers lookup.
Should this work or do u have any suggestion..Please
Regards
user12841694
Edited by: user12841694 on Dec 23, 2010 6:59 AM

Similar Messages

  • How to move table from one tablespace to other tablespace?

    how to move table from one tablespace to other tablespace?

    887274 wrote:
    how to move table from one tablespace to other tablespace?
    alter table <table_name> move  tablespace <new_tablespace_name>;
    Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
    SQL> create table ttt( ID NUMBER PRimary key);
    Table created.
    SQL> insert into ttt values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL> alter table ttt move tablespace users;
    Table altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 UNUSABLE
    SQL> alter index SYS_C0010863 rebuild tablespace users online;
    Index altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL>

  • How to  move items from one JList to other

    Can u pls help me out to implement this(I m using Netbeans 5.5):
    I want to move items from one JList to other thru a ADD button placed between JLists, I am able to add element on Right side JList but as soon as compiler encounter removeElementAt() it throws Array Index Out of Bound Exception
    and if I use
    removeElement() it removes all items from left side JList and returns value false.
    Pls have a look at this code:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
    Object selItem = jList1.getSelectedValue();
    int selIndex = jList1.getSelectedIndex();
    DefaultListModel model = new DefaultListModel();
    jList2.setModel(model);
    model.addElement(selItem);
    DefaultListModel modelr = new DefaultListModel();
    jList1.setModel(modelr);
    flag = modelr.removeElement(selItem);
    //modelr.removeElementAt(selIndex);
    System.out.println(flag);
    }

    hi Rodney_McKay,
    Thanks for valuable time but my problem is as it is, pls have a look what I have done and what more can b done in this direction.
    Here is the code:
    import javax.swing.DefaultListModel;
    import javax.swing.JList;
    public class twoList extends javax.swing.JFrame {
    /** Creates new form twoList */
    public twoList() {
    initComponents();
    //The code shown below is automatically generated and we can�t edit this code
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    jScrollPane1 = new javax.swing.JScrollPane();
    jList1 = new javax.swing.JList();
    jButton1 = new javax.swing.JButton();
    jScrollPane2 = new javax.swing.JScrollPane();
    jList2 = new javax.swing.JList();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jList1.setModel(new javax.swing.AbstractListModel() {
    String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
    public int getSize() { return strings.length; }
    public Object getElementAt(int i) { return strings[i]; }
    jList1.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
    public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
    jList1ValueChanged(evt);
    jScrollPane1.setViewportView(jList1);
    jButton1.setText("ADD>>");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    jScrollPane2.setViewportView(jList2);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(31, 31, 31)
    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jButton1)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(78, Short.MAX_VALUE))
    layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(62, 62, 62)
    .addComponent(jButton1))
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
    .addContainerGap(159, Short.MAX_VALUE))
    layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
    pack();
    }// </editor-fold>
    //automatic code ends here
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
            jList1 = new JList(new DefaultListModel());
            jList2 = new JList(new DefaultListModel());
             Object selItem = jList1.getSelectedValue();
             System.out.println(selItem);
            ((DefaultListModel) jList1.getModel()).removeElement(selItem);
            ((DefaultListModel) jList2.getModel()).addElement(selItem);
    //Now trying with this code it is neither adding or removing and the value �null� is coming in �selItem� .It may be bcoz JList and Jlist are already instantiated in automatic code. So, I tried this:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
             Object selItem = jList1.getSelectedValue();
             System.out.println(selItem);
            ((DefaultListModel) jList1.getModel()).removeElement(selItem);
            ((DefaultListModel) jList2.getModel()).addElement(selItem);
    //Now with this as soon as I click on �jButton1�, it is throwing this error:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: twoList$1 cannot be cast to javax.swing.DefaultListModel
            at twoList.jButton1ActionPerformed(twoList.java:105)
            at twoList.access$100(twoList.java:13)
            at twoList$3.actionPerformed(twoList.java:50)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:6038)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  • How to move items from one list to other

    hi all,
    in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
    Regards sangeet

    This link should help. Remove from one list and add to the other using Javascript.
    http://www.mredkj.com/tutorials/tutorial006.html

  • Move Script from one client to other

    Dear All,
    How to move a SAP Script from one client to other.
    please suggest me in this regard, 
    Thanks & Regards
    Venkat.

    Hi Venkat,
    SCOT is for SAP connect & not for transporting Requests.. I guess Amandeep meant SCC1 (Clent Copy )
    Regards,
    Suresh Datti

  • I want move indexes from one tablespace to other tablespace

    i'd like to know how i get move the index from one tablespace to other tablespace.
    Thank's
    []'s
    Vitor - Brasil

    Thank's for the answer, but i didn`t understand. May you explain better? I`m need to very much!! I want move the procedures from one tablesapce to other tablespace, because when i export the tables to one tablespace, the oracle export to other tablespace. I have to move the tables, but i dìdn`t get move the procedures!!
    Thank's
    []'s
    Vitor - Brasil

  • How to move OU from one suffix to other suffix and waht kind of precautions we need to take?

    Hi All
    Hope all are doing well.I love to read this blog regularly and i also posted couple questions here and i got very brilliant answers and hoping same now.
    Question is: We are planning to change our DIT structure like moving OU (contains 80k entries including static groups and managed roles,filtered assigned to users) from one sub-suffix to root  suffix as below.
    Currently we have ou=ldap,ou=directory,dc=example,dc=com
    Where ou=ldap has 80k entries and it included managed roles,filtered roles and static groups assigned.
    Planning to change DIT as below.
    ou=ldap,dc=example,dc=com
    1> How to implement this please give some technical knowledge of doing this
    2>What precualtions we need to take?
    3> Do we have any outage
    We have 12 servers installed ldap instance all MMR and its ODSEE 11.1.1.7.0
    Let me know if you need more information

    Hello,
    At first glance, the easiest way would be to use LDAP mod dn operation. However, I would encourage you to review potential issues first:
    Before performing a modify DN operation, ensure that the operation would not break client authentication: how do you application depend on the user DNs ? Do they directly bind as <uid=some user>, ou=ldap,ou=directory, dc=example,dc=com or do they discover the actual user dn by doing a lookup/search first as many portal apps do ? Moving entries may require changes to the client application side. Is it something acceptable for you or should that move be transparent for the client apps ?
    Similarly, If you move an entry that refers to a SSL client certificate, client authentication will break after moving an entry. Are you using client certificates ?
    Before performing a modify DN operation, ensure that the operation would not break your application. The rename or move of an entry can change the following characteristics of the entry: The scope of a filtered role of an entry, The nested role of an entry, where the nested role contains a filtered role, The dynamic group membership of an entry. Furthermore, the entryid attribute of an entry can change when an entry is moved so this may impact your applications if they use the entryid operational attribute.
    Static groups that contain reference to the old user dn may be updated automatically if you Enable and configure the referential integrity plug-in on all master replicas in the topology. This action ensures that the server maintains referential integrity for groups and roles.
    LDAP mod dn and associated constraints are described at Directory Server Entries - 11g Release 1 (11.1.1.7.0)
    -Sylvain
    When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them

  • How to move infoobject from one infoarea to other

    Hi All,
    I need to move a particular infoobject from one infoobject catalog  to other.
    1. I went to change mode of infoobject catalog and tried to drag and drop the particular infoobject, but its not possible.
    2. Also let me know whether CMOD code is client dependent or independent.
    Kindly throw some pointers on this.
    Thanks,
    Sri Arun Prian

    Hi,
    Go to change mode of infoobject for which you want to change Infoarea.
    In the Master Data /Text tab you have option of selecting InfoArea Using F4 help,
    you can select the new Infoarea then save and activate infoobject.
    After that refresh the screen you can infoobject in right Infoarea.
    Vikas

  • How can we move LDOM from one serve to other.

    Hi,
    i have an LDOM setup on a T6320 Blade with Solaris 10.
    The boot image of LDOM is under a ZPool image of 32 GB.
    I want to move this LDOM from T6320 to another T6340. but they don't have the shared disk or not connected to same SAN.
    Sun's document talks about moving the LDOM but what i understood is it is only applicable if the virtual disks are accessable from both the servers.
    Can anybody help me here ?
    Thanks,
    jerin

    Hi,
    You can try something like this :-
    SQL> CONNECT SYS/SYS123@SERVER AS SYSDBA
    Connected.
    SQL> CREATE USER TEST_1 IDENTIFIED BY TEST_1;
    User created.
    SQL> CREATE USER TEST_2 IDENTIFIED BY TEST_2;
    User created.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_1;
    Grant succeeded.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_2;
    Grant succeeded.
    SQL> CONNECT TEST_1/TEST_1@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY ( TEST_COL NUMBER );
    Table created.
    SQL> INSERT INTO TEST_COPY VALUES ( 1 );
    1 row created.
    SQL> INSERT INTO TEST_COPY VALUES ( 2 );
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> GRANT ALL ON TEST_COPY TO TEST_2;
    Grant succeeded.
    SQL>  CONNECT TEST_2/TEST_2@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY AS SELECT * FROM TEST_1.TEST_COPY;
    Table created.
    SQL>  SELECT * FROM TEST_COPY;
      TEST_COL
             1
             2Regards,
    Sandeep

  • How to move items from one account to other account - posting program

    Hello,
    I have FI documents that are posted on clearing account and on other side to costs. But now I need to move open items from clearing account to new clearing account(s) - something like "rename account". Is there any standard program or do you have any idea for programing a customer program?
    Thanks zd.

    Hi,
    use report <b>rfbibl00</b> with tcode FB05
    (look 1st to the documentation of this report with se38/sa38)
    A.

  • How to move DB from one machine to other

    Hi
    We have a Oracle DB Server 7.1.6 running on a HP10.20 box. We are migrating our server to a new box with HP11.x with oracle 8i(8.1.7)
    What is the best way to move the database between these two machines with out creating the database, tablespaces etc on the
    new machine first. I believe Export/Import expects the database to be created beforehand. Or is there any way I can create
    the database on the new machine exactly the same way as in the old box by dumping some data or so.
    I really appreciate any info on this matter,
    Thanks
    Bhamu

    Bhamu.
    Unfortunately, you are kinda stuck. Oracle 7.1.6 is not supported under HP-UX 11.x and 8i is not supported under HP-UX 10.20 (according to Oracle's HP-UX:Compatibility Matrix: Server). Thus you can't do a simple restore to 11.x or an upgrade to 8i prior to a restore.
    The only common versions between the two HP-UX releases are Oracle 7.3 and 8.0, which would allow you to perform an upgrade on 10.20 and a restore to 11.x. (Both of these versions of Oracle are on EMS support.)
    The best bet is to perform an export and then an import. The data dictionary would provide you with the information you need to re-create the appropriate tablespaces on the new server.

  • How move code from one class to other?

    I have a .fla file.
    There i have some keyframes with labels.
    On .fla file in property in Class field i adde MyMatching class.
    Also i have main code:
    package
         import flash.display.MovieClip;
         import flash.events.MouseEvent;
         import flash.text.TextField;
         public class MyMatching extends MovieClip
              var play_btn:MyButton = new MyButton();
              var kyky:MyTimer;
              public function MyMatching():void
                   welcomeScreen();
              public function welcomeScreen():void
                   stop();
                   trace("working");
                   play_btn.x = 210;
                   play_btn.y = 300;
                   addChild(play_btn);
                   play_btn.addEventListener(MouseEvent.CLICK, goToLevel_1);
              public function goToLevel_1(event:MouseEvent)
                   trace("level 1");
                   play_btn.visible = false;
                   gotoAndStop('Level1Screen');               
                   if (kyky==undefined) {
                        kyky = new MyTimer();
    And i have other class:
    package
         import flash.display.MovieClip;
         import flash.display.Stage;
         import flash.utils.getTimer;
         import flash.text.TextField;
         public class MyTimer extends Stage
              import flash.utils.getTimer;
              var gameStartTime:uint;
              var gameTime:uint;
              var gameTimeField:TextField;
              function mainFunction():void
                   gameTimeField = new TextField();
                   addChild(gameTimeField);
                   gameStartTime=getTimer();
                   gameTime=0;
                   addEventListener(Event.ENTER_FRAME,showTime);
              function showTime(event:Event)
                   gameTime=getTimer()-gameStartTime;
                   gameTimeField.text="You plaing: "+clockTime(gameTime);
              function clockTime(ms:int)
                   var seconds:int=Math.floor(ms/1000);
                   var minutes:int=Math.floor(seconds/60);
                   seconds-=minutes*60;
                   var timeString:String=minutes+":"+String(seconds+100).substr(1,2);
                   return timeString;
    Ho i can play code from class MyTimer in goToLevel_1 function(this function stand in my main class MyMatching) ?
    Thank you.

    First of all your MyTimer class is written wrong and sloppy.
    Why does it extend Stage? The most compact class to extend under the circumstances is Sprite.
    Also, it is very important to get into habit of datatype declarations. Not only it is good practice, in your case good compiler will throw error because although you return String, function doesn't return anything.
    In addition, it is important to declare namespaces like private public and protected inside classes. Not function clickTime():String but private function clockTime():String or public function clickTime():String.
    As for how to show your time elsewhere - you just need to create instnace of it and add it to disaply list:
    var myTimer:MyTimer = new MyTimer();
    addChild(myTimer);
    With that said, your class should look like this:
    package 
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.display.MovieClip;
         import flash.utils.getTimer;
         import flash.text.TextField;
         public class MyTimer extends Sprite
              private var gameStartTime:uint;
              private var gameTime:uint;
              private var gameTimeField:TextField;
              public function MyTimer()
                   gameTimeField = new TextField();
                   addChild(gameTimeField);
                   gameStartTime = getTimer();
                   gameTime = 0;
                   addEventListener(Event.ENTER_FRAME,showTime);
              private function showTime(event:Event):void
                   gameTime = getTimer() - gameStartTime;
                   gameTimeField.text = "You playing: " + clockTime(gameTime);
              private function clockTime(ms:int):String
                   var seconds:int = Math.floor(ms / 1000);
                   var minutes:int = Math.floor(seconds / 60);
                   var timeString:String = minutes + ":" + String(seconds + 100).substr(1, 2);
                   return timeString;

  • How to move client from one server to other at remote location

    Dear All,
    We have two servers located in two different locations.Due to some network issues i am unable to do the remote client copy .
    Please suggest how do i take client 100 to other server which is at different location and on different platform.
    Source system is HP Unix Target system is on windows2003, database is oracle on both servers.
    Regards,
    Najeeb ..

    Dear Shark,
    Please check whether you have set archive logs.
    If you have set then please disable, it since it will increase size of /oracle/SID/oraarch.
    then you need to take achive backup. so all the above please ensure that no archive logs are generated.
    also check the size of PSAPUNDO and PSAPTEMP tablespace and if possible make its size large.
    Have you enabled Automated Undo managemant. if your database is oracle9 then you need to manually provide AUM or else it is automatic in higher oracle DB.
    Check the logs of Client copy using scc3.. all the best for all.
    Regards,
    Ganesh

  • Movement of material from one plant to other within the same country

    Hello,
    I would like to move material from one plant to other via tran MB1B.
    The system generates the following error while trying to save document :
    Account determination for entry BAS1 BSX 9000 ___ C100 not possible
    The system did not find an account for this transaction. This means that the account determination for key BAS1 BSX 9000 ___ C100 is not maintained in MM Customizing (Valuation). The key is made up of:
    Chart of account
    Transaction key (= Posting transaction)
    Valuation grouping code
    Account grouping code
    Valuation class
    System Response
    The system cannot update a G/L account for this transaction. You cannot post the transaction.
    Can you please tell me where the necessary setting should be made.
    Thanks

    Hi
    Please check the confirguration in OBYC for this combination and assign GL account for this combination of Valuation class, Valuation area.
    Regards,
    Lakshmanan Krishnan

  • How to move supporting details from one intersection to other?

    Hi,
    I want to move data from one intersection to other along with supporting details and comments. Now i want to delete everything (data, supporting detail and comments) from previous intersection. I know how to clear data but do not know how to delete comments and supporting details form that intersection.
    Can you help me with this?
    Thanks!

    I have found it.
    Thank
    Its Adminstration -> Clear Cell details..

Maybe you are looking for

  • Im trying to reorder divs when in the mobile version of my site, is it possible to do it with media queries?

    Im trying to reorder divs when in the mobile version of my site, is it possible to do it with media queries? Here is the layout in desktop view, red being what would be images. And when i rescale, the content stacks together to place two of the same

  • Photoshop images in Dreamweaver

    How should an image be saved from Photoshop so it will display correctly in dreamweaver? Images look good in Photoshop but when loaded to Dreamweaver they show up ragged/pixelated/fuzzy. Should they be saved as jpg, gif or another format? What parame

  • SP05 Content - What do you think ?

    A discussion threat to get some feedback on how you perceived the SP05 outlook ? Is SAP working on the right stuff or are they missing the "MDM" boat ? Toughts, Ideas ?

  • Ipad 4 anyone expert

    i want toy buy an ipad but i dont like the size of ipad 4 i just prefer to get ipad mini but it has the ipad 2 display and old a5 technology. I love retina display but its only on ipad 4 .... what should i do ????

  • Only emails sent from one of my BIS addresses are forwarding to my BlackBerry Curve 8330

    I got my first BlackBerry from Sprint last Monday, and later added a BlackBerry email address and three other accounts (1 an aol account, the other two from my own website servers), and all was working great. Then a day or so ago I set up filters on