C# 클래스 Microsoft.Dynamics.Integration.Adapters.DynamicCrm.ServerConnection

Provides server connection information.
This code implements partial (incomplete) support for federated and managed domain user accounts with CRM Online/O365 integration.
파일 보기 프로젝트 열기: Microsoft/Instance-Adapter-for-Microsoft-Dynamics-CRM

공개 메소드들

메소드 설명
DiscoverOrganizations ( IDiscoveryService service ) : OrganizationDetailCollection

Discovers the organizations that the calling user belongs to.

GetServerConfiguration ( ) : CrmServerConfiguration

Obtains the server connection information including the target organization's Uri and user login credentials from the user.

ServerConnection ( Uri discoveryServiceAddress, string userName, string password ) : System

비공개 메소드들

메소드 설명
FindOrganization ( string orgUniqueName, OrganizationDetail orgDetails ) : OrganizationDetail

Finds a specific organization detail in the array of organization details returned from the Discovery service.

GetDeviceCredentials ( ) : ClientCredentials

Get the device credentials by either loading from local cache or request new device credentials by registering the device.

GetServerType ( Uri uri ) : AuthenticationProviderType

Obtains the authentication type of the CRM server.

GetUserLogonCredentials ( string userNameCredential, string passwordCredential ) : ClientCredentials

Obtains the user's logon credentials for the target server.

메소드 상세

DiscoverOrganizations() 공개 정적인 메소드

Discovers the organizations that the calling user belongs to.
public static DiscoverOrganizations ( IDiscoveryService service ) : OrganizationDetailCollection
service IDiscoveryService A Discovery service proxy instance.
리턴 OrganizationDetailCollection

GetServerConfiguration() 공개 메소드

Obtains the server connection information including the target organization's Uri and user login credentials from the user.
public GetServerConfiguration ( ) : CrmServerConfiguration
리턴 CrmServerConfiguration

ServerConnection() 공개 메소드

public ServerConnection ( Uri discoveryServiceAddress, string userName, string password ) : System
discoveryServiceAddress System.Uri
userName string
password string
리턴 System