Partager via


IMASynchronization.MapAttributesForExport Method

Called to map attributes from a metaverse entry to a connector space entry.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As IMASynchronization
Dim FlowRuleName As String
Dim mventry As MVEntry
Dim csentry As CSEntry

instance.MapAttributesForExport(FlowRuleName, mventry, csentry)

Syntax

'Declaration
Sub MapAttributesForExport ( _
    FlowRuleName As String, _
    mventry As MVEntry, _
    csentry As CSEntry _
)
void MapAttributesForExport (
    string FlowRuleName,
    MVEntry mventry,
    CSEntry csentry
)
void MapAttributesForExport (
    String^ FlowRuleName, 
    MVEntry^ mventry, 
    CSEntry^ csentry
)
void MapAttributesForExport (
    String FlowRuleName, 
    MVEntry mventry, 
    CSEntry csentry
)
function MapAttributesForExport (
    FlowRuleName : String, 
    mventry : MVEntry, 
    csentry : CSEntry
)

Parameters

  • FlowRuleName
    Contains the name of the flow rule. You must use only alphanumeric characters for the FlowRuleName parameter; otherwise, you can encounter problems in a rules extension.

    Note

    Flow rules are not executed in the order shown in Synchronization Service Manager. Forefront Identity Manager Synchronization Service (FIM Synchronization Service) uses these rules according to the state of the metaverse object. Configure your rules based on the state of the object instead of the rules that are called in a predetermined order.

  • mventry
    Contains a CSEntry object that represents the source metaverse entry.
  • csentry
    Contains a CSEntry object that represents the destination connector space entry.

Exceptions

Exception type Condition
DeclineMappingException

The method cannot produce a mapping for an attribute.

EntryPointNotImplementedException

The rules extension does not implement this method.

UnexpectedDataException

The method received unexpected data.

Remarks

This method is called when:

  • The export flow rules do not overlap with the import flow rules, or

  • If the source attribute has a precedence greater than or equal to the precedence of the overlapping import flow rule. You set management agent precedence in Metaverse Designer.

For more information about setting management agent precedence, see the Forefront Identity Manager Synchronization Service 2010 Help on Microsoft TechNet.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Change History

See Also

Reference

IMASynchronization Interface
IMASynchronization Members
Microsoft.MetadirectoryServices Namespace
CSEntry Class
CSEntry Class
IMASynchronization Interface

Other Resources

Example: Enabling or Disabling a User Account in Active Directory