Deleting IDM user accounts during reconciliation

Hello All,
We have an authoritative data source which is a MySQL database. I have loaded all the users from the DB into IDM. What I want to know is can we delete the user in IDM when the user account is deleted from the MySQL database?
How can I achieve this during reconciliation?
Any help would be highly appreciated.
Thank you very much.
Vamsi

I think you need to use the per account workflow, which is part of the recon policy. It should be something like:
<Extension>
<WFProcess name='UC2 ORA Per Acct Workflow' title='UC2 ORA Per Acct Workflow'>
<Variable name='userName' input='true'/>
<Variable name='accountId' input='true'/>
<Variable name='loginApplication' input='true'/>
<Variable name='resource' input='true'/>
<Activity id='0' name='start'>
<Transition to='Sync Attributes'>
<eq>
<ref>initialSituation</ref>
<s>AR_SITUATION_NAME_UNMATCHED</s>
</eq>
</Transition>
<Transition to='Deprovision User'>
<eq>
<ref>initialSituation</ref>
<s>AR_SITUATION_NAME_DELETED</s>
</eq>
</Transition>
<Transition to='Disable User'>
<eq>
<ref>initialSituation</ref>
<s>optional logic here</s>
</eq>
</Transition>
<Transition to='Clear Task Results'/>
<WorkflowEditor x='38' y='177'/>
</Activity>
<Activity id='1' name='Sync Attributes'>
<Variable name='WF_ACTION_ERROR'/>
<Variable name='user'/>
<Action id='0' name='Checkout User' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='checkoutView'/>
<Argument name='type' value='User'/>
<Argument name='id' value='$(accountId)'/>
<Argument name='authorized' value='true'/>
<Argument name='Form' value='UC2 ORA Per Acct Form'/>
<Variable name='view'/>
<Return from='view' to='user'/>
<Return from='WF_ACTION_ERROR' to='ERROR'/>
</Action>
<Action id='1' name='Checkin User Object' application='com.waveset.session.WorkflowServices'>
<Condition>
<isnull>
<ref>WF_ACTION_ERROR</ref>
</isnull>
</Condition>
<Argument name='op' value='checkinView'/>
<Argument name='view'>
<ref>user</ref>
</Argument>
</Action>
<Transition to='Clear Task Results'>
<isnull>
<ref>WF_ACTION_ERROR</ref>
</isnull>
</Transition>
<Transition to='end'/>
<WorkflowEditor x='259' y='7'/>
</Activity>
<Activity id='2' name='Deprovision User'>
<Variable name='WF_ACTION_ERROR'/>
<Variable name='user'/>
<Action id='0' name='Checkout User' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='checkoutView'/>
<Argument name='authorized' value='true'/>
<Argument name='type' value='Deprovision'/>
<Argument name='id' value='$(accountId)'/>
<Variable name='view'/>
<Return from='view' to='user'/>
<Return from='WF_ACTION_ERROR' to='ERROR'/>
</Action>
<Action id='1' name='Select All Accounts for Deprovision'>
<expression>
<set name='user.resourceAccounts.selectAll'>
<s>true</s>
</set>
</expression>
</Action>
<Action id='2' name='Checkin User Object' application='com.waveset.session.WorkflowServices'>
<Condition>
<isnull>
<ref>WF_ACTION_ERROR</ref>
</isnull>
</Condition>
<Argument name='op' value='checkinView'/>
<Argument name='view'>
<ref>user</ref>
</Argument>
</Action>
<Transition to='Clear Task Results'>
<isnull>
<ref>WF_ACTION_ERROR</ref>
</isnull>
</Transition>
<Transition to='end'/>
<WorkflowEditor x='308' y='241'/>
</Activity>
<Activity id='3' name='Disable User'>
<Variable name='WF_ACTION_ERROR'/>
<Variable name='user'/>
<Action id='0' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='disableUser'/>
<Argument name='accountId' value='$(accountId)'/>
<Argument name='doWaveset' value='true'/>
</Action>
<Transition to='Clear Task Results'>
<isnull>
<ref>WF_ACTION_ERROR</ref>
</isnull>
</Transition>
<Transition to='end'/>
<WorkflowEditor x='390' y='387'/>
</Activity>
<Activity id='4' name='Clear Task Results'>
<Action id='0' application='SET_RESULT_LIMIT'>
<Argument name='limit' value='0'/>
</Action>
<Transition to='end'/>
<WorkflowEditor x='351' y='104'/>
</Activity>
<Activity id='5' name='end'>
<WorkflowEditor x='691' y='50'/>
</Activity>
</WFProcess>
</Extension>
Reg/Suveer

Similar Messages

  • Trying to delete two user accounts on my mac book air, it has been deleting them for two days and I am un able to turn my computer off, what should i do?

    How do I go about either stopping a delteing user account that is in action, or How do I reboot my computer? I am stuck not sure what to do! I am in the process of deleting two user accounts but I am stuck and can't turn my computer off reboot, or reverse it. Anyone have any ideas for me?

    Press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly to restart.

  • How do I delete a user account to regain the space on my HD?

    How do I delete a user account I am not using to regain the space on the HD?

    System Preferences - Accounts - choose account in the left panel and click the "-" button to delete. You'll want to choose "Delete immediately" to save the space (the "Save in disk image" option will keep the files in an image in your Users folder, which saves you no space).
    Matt

  • Delete a user account

    I am trying to delete a user account but the "-" button is not clickable - help!

    kmamula,
    are you logged in as your administrative user? Is the padlock in the lower-left corner unlocked?

  • When i go to about this mac and look at my storage it says that i have 33GB of music. i recently deleted 2 user accounts but can't find any of these files. Where do i go to delete these files?

    when i go to about this mac and look at my storage it says that i have 33GB of music. i recently deleted 2 user accounts but can't find any of these files. Where do i go to delete these files?

    What are you asking? Where music is stored or where the user accounts were stored?
    Music should be in the music folder - perhaps inside of an iTunes folder.
    User accounts should be on the home directory.

  • Can't delete old user accounts from iBook (G3 - Darwin 6.8)

    Hello,
    I'm having a pain of a time trying to remove the old user accounts on this iBook I was given. The accounts page in the system settings is unlocked, I click on an accountm, the click on Delete User, it works for a while, and then when it is finished 'deleting' the user account is still there, nothing has been deleted. I've try a dozen times now. I'm stumped. Can't find anything on the internet that will help.
    Thanks,
    David.

    So far, I've not had this kind of issue; but did find a few directions to check to see how to go about removing user accounts... or renaming them, etc. One of the recent discussions I've read through (three pages) had some ideas that could work.
    Outside of booting the OS X computer into a super-user account where you can delete Admin users, etc and probably if not familiar with unix, do some incredible damages too; I'd try other exercises first as I am timid. What version of OS X is running in your vintage computer?
    In the process of 'Change Name on Home Folder' some revealing ideas came across; some may transfer...
    https://discussions.apple.com/thread/3366855?tstart=0
    And some ideas that could be used to another end, may be found here...
    http://www.cultofmac.com/126621/how-to-move-or-rename-your-mac-home-folder-macrx /
    How to delete user accounts...
    https://discussions.apple.com/message/3836878#3836878
    However, there are no warrantees expressed or implied. Always a fine idea to read and sort information since some of the ideas available only allow you do perform the practice once correctly. Or wish you had.
    Good luck & happy computing!

  • I need to delete my user account

    i need to delete my user account

    If you mean your iTunes account then you can't currently delete them, all you can do is remove any personal info from it and stop using it - but any content that you downloaded or bought with it will remain tied to it, so if you ever want to re-download it or authorise it on a new computer then you will need to remember its id and password

  • Just got a mac air and started using it. after getting it set up i migrated files from my old pc.  i did not realize that the files migrated to a different user account.  how do i delete this user account and not lose the migrated files which i need

    I just got a mac air and set it up and started using. after getting famiiar with it i migrated my files from my old pc. i did not realise that the files migrated to a new user account.  how do i delete this user account but not lose the migrated files?

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

  • How long should it reasonably take to delete a User Account?

    Just got a new 27" iMac.  I made the mistake of setting myself up as a user prior to migrating from my olde Mac G5 (Tiger).  When I did migrate, I realized it set up a new user with the migrated info.  Went ahead and kept that user and deleted the one I had created.  Problem is it has been "deleting" my user account for close to 6 hours.  Is this reasonable, or do I have a problem going on?  User screen in System Preferences just keeps saying deleting user.  Won't let me quit System Preferences or Restart.
    Thanks.

    I decided to let it run overnight.  Checked it this morning and it was complete.  Go figure...
    Not sure what the process of deleting a user account involves, but it sure took a long time, something more than 7 hours.  I definitely don't want to have to do that again!
    Thanks for the response, I was going to go that route if it wasn't complete this morning.

  • Deleting a user account question

    Hi everyone, can anyone tell me the best way to delete a user account on my computer? Basically I no longer need two accounts and the music, movies and other information from the other side have been transferred to another computer. What I need to know if should I delete all the files from the user account before deleting the account or will deleting the account automatically delete all those files?
    My main concern is freeing up space on the computer again and want to be sure the way I do it will do the job. Thanks for any help.
    -Brian

    What I need to know if should I delete all the files from the user account before
    deleting the account
    You don't need to do anything beforehand. After following Macjack's instructions you will be presented with this option screen, and can choose accordingly:

  • I am trying to delete a user account but attempt locks up system prefs

    I have been trying to delete a user account in 10.9.1 (Mavericks) on a 2009 Mac Pro. The problem is that System Prefs never completes the "archive account" and when check which processes are using up CPU time I find that writeprefs is pegged at 100% and has stayed at that level for seven hours plus. Of course the account is never removed and the only way of restarting the machine is to force quit system prefs after which the reboot works. Any ideas? Thanks in advance.

    Do you really need to archive the user folder?
    linc, that would be desirable but not absolutely essential.  And, thank you for your swift response!

  • What does deleting a user account do?

    What does deleting a user account actually do? If the account that is being deleted is the one from which many programs have been installed, does deleting the account delete the software too?

    It instantly deletes everything to do with that account.
    But programs can be installed for all users or just one user.
    There is an Applications folder at root, then possibly another one for each user, if the Apps aren't at root, then they'll be gone deleting the user that installed them for only that user.

  • User status during reconciliation

    Hi All,
    I have configured AD connector for reconciliation and it is working fine. Also I have created Resource Object, Process Definition and form for multiple resources of AD, during reconciliation when event is linked user status is set to 'Provisioning' instead of 'Provisioned' as per the default functionality and during the successive recon the status is changed to 'Enabled'.
    Can any one please tell me what configuration might be missing due to which the status is set to 'Provisioning' at first time.
    Any pointers in this regards will be appreciated.
    TIA

    After successful target source recon, the status should be 'Enabled' or 'disabled' depending on the user account status in AD. Can you look at the tasks that are executed when the status is set to 'provisioning'? Which task fails? what is logged in the logs? Could be that 'Get ObjectGUID' task is not completed and it completes before the next run of the scheduler, which is why it works fine in second run.

  • Deleting a user account? or making second account the primary account??

    Hi, a few days ago i bought a new 24" imac & used the migration assistant to transfer all my stuff over from my 17" intel imac running 10.4.10.
    I did this AFTER i setup the 24"imac with a user account. I was hoping i could make my old account the default account on the new imac. I have set it up so when it logs on it logs into my old imac account, & have gone through & set all the permissions so i can do what ever i want. I have also set the transferred account as an administrative account.
    So here is my question - can i delete the original account that was setup on my new 24" & keep the transferred account as the main account?
    It doesnt really hurt to have 2 accounts there but i am the only user for this computer & would like to have it alittle simpler...
    thanks

    is this ok to do? remembering the transferred account came from a imac running 10.4.10 & the new machine is 10.5.4.
    will there be any library or system issues?? is it really as straight forward as deleting the account?? Remember the account i want to delete is the account i set up when i booted this computer for the first time...

  • I deleted two user accounts from my MacBook Pro to create a third user account to consolidate all my duplicate files.  Now my Mac won't download from ITunes, nor re-load music from one of my deleted accounts.

    I combined two user accounts on my MacBook Pro into a new, third, user account.  The biggest account in terms of my I Tunes library, past purchases, etc., was preserved.  The smaller deleted acount with about 40 I Tunes purchases needed to be "reloaded" into my "machine".
    I went through the procress several times, meaning, "go to purchased", items not on this machine, etc, only to receive the same message of not having permission to download.
    As well, I can't download new items form the ITuunes store.
    Solutions anyone?

    My computer is the same I've had for a year now.  I didn't have a problem until I closed the two user accounts and consolidated into an admin account.
    In my ITunes account it says I have "two computers authorized to play content".  There's a "delete these authorized computers" function.  I'm not hitting that button until I have to.
    The help desk says to delete my downloads folder in ITunes and then re-download my previous purchases (I can't find a downloads file to delete) .or reload from Cloud.  I don't have cloud on my Mac.
    ARGH!!!!

Maybe you are looking for

  • How many ipods/iphones be synced to one account

    How many times can purchased content be synced to ipods or iphones with one account. I have replaced my iphone about 4 times now and wondering how many times I can sync purchased apps and songs to new devices using the one account. For example, can I

  • Field VBUND does not allow changes to the document ?

    If you post the trading partner, the trading partner(Field VBUND)does not allow changes to the document. I can't change trading partner. Thanks!! Message was edited by: Rico Wang

  • How can I delete an image that is being repeated as a heading on a second page of a document?

    I have a pages document that has a formal heading with a logo, and on the second page, it automatically repeated, so I was hoping that someone had some insight on how to stop the repeated logo, because I only want it on the first page. When I try to

  • Hand tool freeze in photoshop cs6 ,help

    my photoshop freezes on hand tool.. i have to restart every time it happens. I'm using photoshop cs6 My mac spesificatios Processor  2.4 GHz Intel Core i7 ,Intel HD Graphics 3000 512 MB,Mac OS X Lion 10.7.5 need to mention that it is a student master

  • Unable to view images but all other data is present

    Importing images into lightroom 3.6 shows 1. The expected number of of frames .... but all are blank 2. The correct listing in the library index 3. The data for each image shown in the development mode ... as is the spectrum graph I am using an up to