使用C#在Active Directory中跟踪更改 [英] Tracking changes in the Active Directory using C#
问题描述
有没有一种方法来引发事件,如果有人改变了一些东西在Active Directory中,如禁用用户帐户?
Is there a way to raise events if someone changed something in Active Directory, e.g. disable user account?
推荐答案
是的,有机制和钩子被通知一定变化正在Active Directory中 - 请参阅MSDN文档的更改通知在Active Directory 为出发点,并从那里。
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.
从外观上来看,它是pretty的低级直LDAP code ......
From the looks of it, it's pretty low-level straight LDAP code ......
另请参阅该<一href="http://stackoverflow.com/questions/2002606/registering-change-notification-with-active-directory-using-c">other计算器问题的话题,以及如何实施变更通知在.NET 博客文章由Ryan Dunn的
Also see this other Stackoverflow question on the topic, and the blog post by Ryan Dunn on how to Implement Change Notifications in .NET
这篇关于使用C#在Active Directory中跟踪更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!