Hello!
I just want to say that I'm very new to MIM so this is very basic.
Assume we have a user with userid nihu01 and his homedir is the same
My main task is to check if the Person has an enddate and then move his original homedirectory to c://archive/
So we get for user Nisse Hult move c://MyHomeDir/nihu01 to c://archive/nihu01
There is one attribute that I don't know how to fix and that is enddate for a person.
This attribute is in connector space for target system so I export so I can access it in
public void ExportEntry(ModificationType modificationType, string[] changedAttributes, CSEntry csentry) {...}
which work but when I then need to validate the export I get
exported-change-not-reimported because the connector space does not contain enddate.
I can see in ExportEntry that I have a value here csentry["enddate"].Value
When I run the import for target system I don't have access to the enddate attribute.
When I run profile Import to validate the export a new instance of this class is being created
public class MACallExport : IMAExtensibleFileImport, IMAExtensibleCallExport
so I can't save the enddate anywhere.
When I validate the export this method is called.
public void GenerateImportFile(
string filename,
string connectTo,
string user,
string password,
ConfigParameterCollection configParameters,
bool fullImport,
TypeDescriptionCollection types,
ref string customData)
{...}
So can somebody help me with this.
I assume that the way is I'm trying is the wrong way to do this.
//Tony