I am a .NET developer working on a project I inherited. I need to execute a small program when AD replicates to keep our DB with user information up to date.
Is there a way when AD replicates to include the program as part of a trigger or script?
Active Directory replicates periodically on its own. You can check event logs periodically for that event ID and know within a minute or two.
With that said, AD is already a "DB with user information." You'd be much better-served by populating your user database directly from AD, or bypassing it altogether.