protected override void ProcessDeleteEntry(ObjectModifyType modifyType, IOguObject srcObject, DirectoryEntry targetObject, string context) { List<ADObjectWrapper> allChildren = targetObject.FindAllChildrenUser(); foreach (ADObjectWrapper child in allChildren) { using (DirectoryEntry subEntry = SynchronizeHelper.GetSearchResultByID(SynchronizeContext.Current.ADHelper, child.NativeGuid).GetDirectoryEntry()) { subEntry.ForceBound(); DisableAccount(subEntry); } } }