Share via


ImportUserMappingMethod Enum

Definition

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

public enum class ImportUserMappingMethod
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContract(Name="ImportUserMappingMethod", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public enum ImportUserMappingMethod
[<System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")>]
[<System.Runtime.Serialization.DataContract(Name="ImportUserMappingMethod", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type ImportUserMappingMethod = 
Public Enum ImportUserMappingMethod
Inheritance
ImportUserMappingMethod
Attributes

Fields

Name Value Description
KeepExisting 0

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.

ByAccount 1

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

ByMappingXml 2

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

ByFullName 3

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

ByMappingXmlFile 4

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

Applies to