Share via


ImportUserMappingMethod Enumeration

 

Applies To: Dynamics CRM 2015

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 enum class ImportUserMappingMethod
[<DataContractAttribute(Name = "ImportUserMappingMethod", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type 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 CRM 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 CRM 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
Developer extensions for Microsoft Dynamics CRM

Return to top

© 2016 Microsoft. All rights reserved. Copyright