Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 29 Apr 2005 17:50:27 +0200,    group: microsoft.public.platformsdk.active.directory        back       


Retrieve deleted users from Active Directory in c#   
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
date: Fri, 29 Apr 2005 17:50:27 +0200   author:   Oyvind

Re: Retrieve deleted users from Active Directory in c#   
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
date: Fri, 29 Apr 2005 11:53:08 -0400   author:   Joe Richards [MVP]

Re: Retrieve deleted users from Active Directory in c#   
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
date: Fri, 10 Jun 2005 11:01:35 -0300   author:   Victor Pereira

Re: Retrieve deleted users from Active Directory in c#   
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
>
>
date: Fri, 10 Jun 2005 21:57:56 -0500   author:   Joe Kaplan \(MVP - ADSI\)

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us