Hello!
I'm new to MIM.
Below is a method in MVE handling Provision.
In this method ProvisionPerson below we create two connectors one for agent "Projekt - Personal" and one for
agent "Projekt - AD"
I just wonder what consequence what occur if I don't have a connector to agent "Projekt - Personal"
Can somebody explain that?
Why is connector important?
bool ProvisionPerson(MVEntry mventry)
{
CSEntry csentryKatalog;
ReferenceValue dn;
//This well give the number of connectorer to source system
int connectorsSourceSystem = mventry.ConnectedMAs["Projekt - Personal"].Connectors.Count;
//Get connector to Projekt - AD
ConnectedMA targetAgent = mventry.ConnectedMAs["Projekt - AD"];
//Add a new csEntry in CS named Katalog with dn as initials
if (connectorsSourceSystem >= 1 && targetAgent.Connectors.Count == 0)
{
dn = targetAgent.CreateDN(mventry["personnummer"].Value);
csentryKatalog = targetAgent.Connectors.StartNewConnector("Katalog");
csentryKatalog.DN = dn;
csentryKatalog["MAID"].Value = mventry["personnummer"].Value;
csentryKatalog.CommitNewConnector();
}
return false;
}
//Tony