Hi There,

lI am using AZman with authorization store stored in xml file. And I
was creating a file system watcher on this xml file and when an
administrator modifies the store using Azman mmc, the event was raised
and I would notify all the interested parties. But now I want my
azman store to be in ADAM.

Do we have any mechanism/apis to know when the azman store is
modified? What is the best practice in these scenarios?

i found this http://msdn.microsoft.com/en-us/library/ms676877(VS.85).aspx

which is in managed C++ , since most of the ldap apis are wrapped in
System.directoryservices , i was thinking if it is possible to
use .net libraries to achieve the above mentioned(getting the
notification) behavior.



Thanks for your time.

Dee

Re: Change notification using AD by Joe

Joe
Tue Aug 19 07:19:49 PDT 2008

It would probably be easier to use the dirsync control (which is available
via System.DirectoryServices in the DirectorySearcher class) and implement a
polling scheme rather than using change notifications. They can be
implemented in .NET using System.DirectoryServices.Protocols, but it is a
bit more work.

If you really need it, I believe my coauthor Ryan posted an article with
code samples on his blog a while ago (dunnry.com).

Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"DEE" <tsdeepak@gmail.com> wrote in message
news:926fedf8-80b7-42ca-88f7-d09fdb71c47d@a2g2000prm.googlegroups.com...
> Hi There,
>
> lI am using AZman with authorization store stored in xml file. And I
> was creating a file system watcher on this xml file and when an
> administrator modifies the store using Azman mmc, the event was raised
> and I would notify all the interested parties. But now I want my
> azman store to be in ADAM.
>
> Do we have any mechanism/apis to know when the azman store is
> modified? What is the best practice in these scenarios?
>
> i found this http://msdn.microsoft.com/en-us/library/ms676877(VS.85).aspx
>
> which is in managed C++ , since most of the ldap apis are wrapped in
> System.directoryservices , i was thinking if it is possible to
> use .net libraries to achieve the above mentioned(getting the
> notification) behavior.
>
>
>
> Thanks for your time.
>
> Dee



Re: Change notification using AD by DEE

DEE
Mon Aug 25 21:52:00 PDT 2008

Hi Joe,

Thanks for the response .

Regards
Dee