none
DeprovisionAll Method RRS feed

  • Question

  •  

     Hi All,

    I want to deprovisioning all the connectors based on certain value from the source, Let's say when value of the attriute update =" DEL", it should deprovisioning all the connectors.

    When i apply the below logic, in Syn i can see all the connectors are deprovisioned and mventry gets deleted at first. but in AD connectors I can see the object .

    I understand my function for deprovisioning call at last. so there should not be no object in the AD connectors.

    Kindly advice.

    void IMVSynchronization.Provision(MVEntry mventry)
            {

                   // Provisioning code & logic

                     // Calling the function to check the value & if it is meet the conditon, it will deprovisioning.   
                    
                   Deltest(mventry);
                }

    The Function

     public void Deltest(MVEntry mventry)
            {
                if (mventry["status"].Value == "DEL")
                {
                    mventry.ConnectedMAs.DeprovisionAll();
                    mventry.ConnectedMAs["AD"].Connectors.DeprovisionAll();

                }

                    in AD Connectors

    Thanks & Regards,

    Anirban Singha

    Blog : http://a-zenith.blogspot.in/ 

                         
    Sunday, January 10, 2016 3:59 AM

All replies