disconnector ceation in metaverse rule
hi, I am trying the metversr rule extension.I like to create a connector only for employee ID is Numeric and other should be disconnector. Public Sub Provision(ByVal mventry As Microsoft.MetadirectoryServices.MVEntry)_Implements IMVSynchronization.ProvisionIf mventry.ObjectType.Equals("person") ThenIf isNumeric(mventry("employeeID"))ThenDim csentry As CSEntryDim ADM As ConnectedMA = mventry.ConnectedMAs("ADMA") If ADM.Connectors.Count = 0 Thencsentry = ADM.Connectors.StartNewConnector("user")csentry.CommitNewConnector()ElseIf ADM.Connectors.Count = 1 Then' Nothing to do, connector already exists for this MV objectElseThrow New UnexpectedDataException("Multiple connectors:" + _PhoneMA.Connectors.Count.ToString)End IfEnd If End If End Sub here i my code,but still the employeeID with alphanumeric or names is sychronized and able to export to Active Directory.I cant able to disconnect them..
July 16th, 2010 5:34am

To deprovision from your provisioning code, you need to call the DeprovisionAll method. More details are here. Cheers, MarkusMarkus Vilcinskas, Knowledge Engineer, Microsoft Corporation
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2010 12:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics