Create Mangement Agent Rule Extension in .vb net steps by steps
If you are flowing "info" to "firstname" via an export flow rule, then your code is written backwards...looks like you are flowing firstName to info. Check to make sure one of them isn't flipped...your code and the MA configuration. If your code
throws errors, also check to make sure the FlowRuleName of "ExportFirstName" is set correctly in your advanced export rule, and post the error message you get if it all looks correct to you.
Chris
June 14th, 2012 1:38pm
Hi
I want to create one management agent in vb.net.
i want to export metaverse(FirstName value) in AD attribute(info) if firstname have the value "Anil" then this export in ad attribute(info) value "Arun".we did write code in mapattribiteforexport function
and map attribute with "info" to "firstname" with maping type advance and flowdirection export.
Public
Sub MapAttributesForExport(ByVal
FlowRuleName As
String,
ByVal mventry
As MVEntry,
ByVal csentry
As CSEntry)
Implements IMASynchronization.MapAttributesForExport
Select
Case FlowRuleName
Case
"ExportFirstName"
If mventry("firstName").Value
= "Anil"
Then
csentry(
"info").Value =
"Arun"
End
If
' TODO: remove the following statement and add your scripted export attribute flow here
'Throw New EntryPointNotImplementedException()
'Case Else
' TODO: remove the following statement and add your default script here
'Throw New EntryPointNotImplementedException()
End
Select
End
Sub
Regards
Anil Kumar
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2012 4:07am
hi Anil,
the code looks fine. What's your problem / question ?/Matthias
June 15th, 2012 4:14am