Groups > Microsoft > Microsoft Metadirectory Services > Re: MIIS update mventry value




MIIS update mventry value

MIIS update mventry value
Thu, 29 Nov 2007 07:00:47 -080
Hello all

i have AD - MIIS - EDir

AD import
EDir export

here part of code dll

 adMA = mventry.ConnectedMAs("toEDirectory")
 dn = adMA.EscapeDNComponent("cn=" +
mventry("cn").Value).Concat(EDPathNew)
If adMA.Connectors.Count = 0 Then
                    csentry =
adMA.Connectors.StartNewConnector("groupOfNames")
                    csentry.DN = dn
                    csentry.CommitNewConnector()
                Else
                    csentry = adMA.Connectors.ByIndex(0)
                    csentry.DN = dn
                End If


                Exit Sub


it is ok ... but if i want to change other attribute then i see
"attribute is read-only"

Post Reply
Re: MIIS update mventry value
Fri, 30 Nov 2007 00:34:24 +010
muovegroup@gmail.com wrote:
> it is ok ... but if i want to change other attribute then i see
> "attribute is read-only"

In metaverse extension code you can change only attributes for newly 
provisioned objects and before You will call Commit on a connector

> how in can do it ?

For handling attributes flows You should use MapAttributesForExport 
method in management agent extension

-- 
Tomasz Onyszko
http://www.w2k.pl/ - (PL)
Post Reply
about | contact