应用到: CRM 2015 on-prem, CRM Online
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. |
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
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 Vista,Windows XP
另请参阅
参考
Microsoft.Xrm.Sdk.Deployment 命名空间
其他资源
Developer Extensions for Microsoft Dynamics CRM
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.