Is there a way to raise events if someone changed something in Active Directory, e.g. disable user account?
Yes, there are mechanisms and hooks to be notified of certain changes being made in Active Directory - see the MSDN docs Change Notifications in Active Directory as a starting point and go from there.
From the looks of it, it's pretty low-level straight LDAP code ......
Also see this other Stackoverflow question on the topic, and the blog post by Ryan Dunn on how to Implement Change Notifications in .NET
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With