This can definitely be done with SDS as I do it pretty often and have a few production applications that use this every day to great effect.
The first thing I'd do is try your query in ldp.exe or ADfind and make sure it is behaving the way you want it to. Joe K. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikael H�kansson Sent: Tuesday, March 15, 2005 6:22 AM To: [email protected] Subject: [ActiveDir] Retrieving changes using the uSNChanged property Hi I�m trying to retrieve only changes from active directory by using the uSNChanged property in my query. However, even if a manually change an object and verify that the uSNChanged is changed, I still don�t get any results back from my query. Sample query: "(&(objectClass=user)(objectCategory=person)(uSNChanged>=value))" where value is taken from the highestCommittedUSN property of the RootDSE object the first time the application runs. Does anyonw know why I�m not getting any results back? Maybe this cannot be done using the .NET directoryservices?? //Mikael List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
