Method | Description | |
---|---|---|
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 ( |
Method | Description | |
---|---|---|
FindOrganization ( string orgUniqueName, OrganizationDetail orgDetails ) : OrganizationDetail |
Finds a specific organization detail in the array of organization details returned from the Discovery service.
|
|
GetDeviceCredentials ( ) : |
Get the device credentials by either loading from local cache or request new device credentials by registering the device.
|
|
GetServerType ( |
Obtains the authentication type of the CRM server.
|
|
GetUserLogonCredentials ( string userNameCredential, string passwordCredential ) : |
Obtains the user's logon credentials for the target server.
|
public static DiscoverOrganizations ( IDiscoveryService service ) : OrganizationDetailCollection | ||
service | IDiscoveryService | A Discovery service proxy instance. |
return | OrganizationDetailCollection |
public GetServerConfiguration ( ) : CrmServerConfiguration | ||
return | CrmServerConfiguration |
public ServerConnection ( |
||
discoveryServiceAddress | ||
userName | string | |
password | string | |
return | System |