ImportUserMappingMethod Enumeration


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Defines the possible methods for mapping users when importing an organization.

Namespace:   Microsoft.Xrm.Sdk.Deployment
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)


[DataContractAttribute(Name = "ImportUserMappingMethod", Namespace = "")]
public enum ImportUserMappingMethod
<DataContractAttribute(Name := "ImportUserMappingMethod", Namespace := "")>
Public Enumeration ImportUserMappingMethod


Member name Description

Specifies to automatically map the users' Active Directory account names to Microsoft Dynamics 365 accounts. Value = 1.


Specifies to look up Active Directory users in the new domain by using the user’s display name . Value = 3.


Specifies custom user account matching options in an XML string. Value = 2.


Specifies to map users with a mapping file. Value = 4.


Specifies to keep the existing user mappings in the organization database. Typically, you select this option if you’re importing an organization database that is located in the same Active Directory domain as the Microsoft Dynamics 365 server where the organization is to be imported. For users external to the Active Directory domain, who were added with their UPN, the user information will be mapped across without any changes or validation. Value = 0.

See Also

Microsoft.Xrm.Sdk.Deployment Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright