Lets take an example of group say X keeping 4 members and 2 are deleted and 1 is added in FIM Portal and finally change is synchronized to ECMA Connector Space as shown below
1) delete ---
2) delete---
3) none---
4) none--
5) add--
when I perform export using ECMA , I do not receive the delete as (ValueModificationType.delete). Rather, I get 3 adds (ValueModificationType.add)   -- 2 for none (not changed in FIM Portal ) and 1 for the added one. I am expecting to see the deletes as well so that i can explicitly delete the members from AD.
I have also tried the possibility of using Capabilities.ExportType = MAExportType.AttributeReplace instead of Capabilities.ExportType = MAExportType.AttributeUpdate;
Any help would be appreciated. Thanks!! Vinay
This is the code fragment I am using correctly.
Capabilities.ExportType = MAExportType.AttributeUpdate;
public PutExportEntriesResults PutExportEntries(IList<CSEntryChange> csentries)
{
PutExportEntriesResults Results = new PutExportEntriesResults();
foreach (CSEntryChange change in csentries)
{
foreach (string AttributeName in change.ChangedAttributeNames)
{
if (AttributeName == "member")
{
if (attributeChange.ModificationType == AttributeModificationType.Replace ||
attributeChange.ModificationType == AttributeModificationType.Add)
{
foreach (ValueChange value in attributeChange.ValueChanges)
{
string DN = value.Value.ToString();
if (value.ModificationType == ValueModificationType.Add)
lstaddMembers.Add(DN);
if (value.ModificationType == ValueModificationType.Delete)
lstdelMembers.Add(DN);
}
}