locked
Controlling provisioning order with multiple targeted CA's

    Question

  • When we have a new employee join, I have a need to provision them to at least 2 and sometimes 3 connectors.  Is there a way to ensure that one specific connector is provisioned first?  The other two are dependent on some attributes that come from the first.
    Ed Bell - Specialist, Network Services, Convergys
    Friday, January 06, 2012 9:26 PM

All replies

  • Without knowing more specifics, you can do something like this - lets say you have 3 systems (a,b,c) and  lets say you need them to happen in that order.

    I would break this into 3 functions, one for each.

            void IMVSynchronization.Provision (MVEntry mventry)
            {
                ProvisionA(mventry);
                ProvisionB(mventry);
                ProvisionC(mventry);
                }
               
               
            private void ProvisionA(MVEntry mventry)
              {
                // provisioning for A
              }
           
            private void ProvisionB(MVEntry mventry)
             {
               if (!mventry["SomethingFromA"].IsPresent) return;
               // provisioning for B
              }
              
            private void ProvisionC(MVEntry mventry)
             {
                if (!mventry["SomethingFromB"].IsPresent) return;
                // provisioning for C
              }

     

    Once you provision and export to system A - flow back something that you can check the existance of and make that required in the next system's provision method as shown above. For example, if one system is AD, you can check for the existance of objectSID in the provision method of the next system. Until that attribute is present, the provisioning won't happen.


    Frank C. Drewes III - Senior Consultant: Oxford Computer Group
    Monday, January 09, 2012 6:18 AM