共用方式為


ImportUserMappingMethod 列舉

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

命名空間: Microsoft.Xrm.Sdk.Deployment
組件: Microsoft.Xrm.Sdk.Deployment (在 Microsoft.Xrm.Sdk.Deployment.dll 中)

語法

'宣告
<DataContractAttribute(Name:="ImportUserMappingMethod", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")> _
<GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")> _
Public Enumeration ImportUserMappingMethod
[DataContractAttribute(Name="ImportUserMappingMethod", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")] 
[GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 
public enum ImportUserMappingMethod

成員

成員名稱 描述
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.

平台

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98、Windows 2000、Windows 2000 Server、Windows CE、Windows Server 2008、Windows 98 Second Edition、Pocket PC、智慧型手機、Windows Server 2003、Windows XP Professional、Windows Server 2008、Windows Server 2012、Windows 7、Windows 8、Windows 8.1

請參閱

參照

Microsoft.Xrm.Sdk.Deployment 命名空間

其他資源

Developer Extensions for Microsoft Dynamics CRM

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.