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)

Syntax

[DataContractAttribute(Name = "ImportUserMappingMethod", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public enum ImportUserMappingMethod
<DataContractAttribute(Name := "ImportUserMappingMethod", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Enumeration ImportUserMappingMethod

Members

Member name Description
ByAccount

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

ByFullName

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

ByMappingXml

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

ByMappingXmlFile

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

KeepExisting

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