Run process on AD username update

Last post 11-03-2009 4:21 PM by JeffWask. 1 replies.

Sort Posts:

  • Run process on AD username update

    11-03-2009, 3:33 PM
    • Member
      101 point Member
    • chickflickssuck
    • Member since 06-09-2009, 5:05 PM
    • Illinois, USA
    • Posts 93

    Hello everyone,

    Being a veteran programmer for all of 5 months, tis' a shock I'm having issues with such a minesquel task.. *kidding*

    Okay, here is the situation.  We have users for our entire company setup in Active Directory.  When a person within the company changes positions, they aquire a new username.

    Example: whomever the Auditing Manager is, position always uses the username: AUD15

     

    What I need to do, is make sure that whenever a username is updated manually, in AD... something will happen

    this could be anything from a web service being triggered, an AS400 table/file being updated, a vb.net program being called, or a batch file is run.

    The reasoning for this, is so that whenever a user changes positions... we can update our database information accordingly (and a few other tasks as well).  But the first step is finding a way to trigger an event, every-time the username is updated.

     

    Any ideas or help would be greatly appreciated... thanks,

  • Re: Run process on AD username update

    11-03-2009, 4:21 PM
    • Participant
      835 point Participant
    • JeffWask
    • Member since 04-15-2009, 9:54 AM
    • Massachusetts
    • Posts 168

    I do this the opposite way.  When someone updates the users information via the Intranet, I then update their Active Directory information via automation.  Take a look at this for info on AD functions...

    http://www.codeproject.com/KB/system/everythingInAD.aspx

    ...on the other hand to montor the AD look at this...

    http://dunnry.com/blog/ImplementingChangeNotificationsInNET.aspx

    A good resource for AD questions.

    http://directoryprogramming.net

    ...

Page 1 of 1 (2 items)