Hi. I need to be able to do a search for objects deleted from Active Directory in C#. According to various documentation (msdn among others) there should be a property called "isDeleted", so a search could be carried out by setting the ((isDeleted=TRUE)) filter. However this throws an exception, and when investigating different objects I'm unable to locate this property. So - how do I get deleted (tombstoned) objects returned in a search? Any tips are greatly appreciated. :) Thanks. - yvind
You multi-posted this, I responded in one of the other newsgroups. joe -- Joe Richards Microsoft MVP Windows Server Directory Services www.joeware.net Oyvind wrote: > Hi. > > I need to be able to do a search for objects deleted from Active > Directory in C#. According to various documentation (msdn among others) > there should be a property called "isDeleted", so a search could be > carried out by setting the ((isDeleted=TRUE)) filter. However this > throws an exception, and when investigating different objects I'm unable > to locate this property. So - how do I get deleted (tombstoned) objects > returned in a search? > > Any tips are greatly appreciated. :) Thanks. > > - yvind
I want to know either, where did you posted the answer ? Regards, VP "Joe Richards [MVP]" wrote in message news:ee%23pKONTFHA.2336@TK2MSFTNGP12.phx.gbl... > You multi-posted this, I responded in one of the other newsgroups. > > joe > > -- > Joe Richards Microsoft MVP Windows Server Directory Services > www.joeware.net > > > Oyvind wrote: >> Hi. >> >> I need to be able to do a search for objects deleted from Active >> Directory in C#. According to various documentation (msdn among others) >> there should be a property called "isDeleted", so a search could be >> carried out by setting the ((isDeleted=TRUE)) filter. However this throws >> an exception, and when investigating different objects I'm unable to >> locate this property. So - how do I get deleted (tombstoned) objects >> returned in a search? >> >> Any tips are greatly appreciated. :) Thanks. >> >> - yvind
Did you try a Google search for any of our answers? :) Essentially, you need .NET 2.0 to do this unless you write your own IDirectorySearch wrapper (which is pretty difficult). Joe K. "Victor Pereira" wrote in message news:%23fZCPTcbFHA.2968@TK2MSFTNGP10.phx.gbl... >I want to know either, where did you posted the answer ? > > Regards, > > VP > "Joe Richards [MVP]" wrote in message > news:ee%23pKONTFHA.2336@TK2MSFTNGP12.phx.gbl... >> You multi-posted this, I responded in one of the other newsgroups. >> >> joe >> >> -- >> Joe Richards Microsoft MVP Windows Server Directory Services >> www.joeware.net >> >> >> Oyvind wrote: >>> Hi. >>> >>> I need to be able to do a search for objects deleted from Active >>> Directory in C#. According to various documentation (msdn among others) >>> there should be a property called "isDeleted", so a search could be >>> carried out by setting the ((isDeleted=TRUE)) filter. However this >>> throws an exception, and when investigating different objects I'm unable >>> to locate this property. So - how do I get deleted (tombstoned) objects >>> returned in a search? >>> >>> Any tips are greatly appreciated. :) Thanks. >>> >>> - yvind > >