April 29th, 2004, 09:34 AM
lastKnownParent of Deleted Objects in AD
I am developing a module that is running on Windows 2003 Enterprise Server with Active Directory.
As part of the requirements, we need to query the AD for deleted objects and find the attribute 'lastKnownParent'.
I looked around and found the following sample code.
However on trying out this sample code, i am getting all attribtues such 'Distiguished Name' of the deleted objects but not able to retrieve the 'lastKnownParent' attribute.
Can somebody please let me know whether there needs to be any particular setting on the AD for this attribute to be there in the deleted object. Any help on this is greatly appreciated.