I am using below code to query changes to users/OUs in AD. But it doesn\'t retrive any deleted objects, Any idea how to include deleted objects in this ?
sta
solution is need to add isDeleted=TRUE to request object
isDeleted=TRUE
SearchRequest request = new SearchRequest("DC=xx,DC=xxx,DC=com", "(|(objectClass=organizationalUnit)(isDeleted=TRUE)(objectCategory=Person))", SearchScope.Subtree, attribs);