Partager via


AuthenticationService.Connect Method (Uri, String, String, ClientCredentials, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Connects to the specified organization service URI.

Namespace:   Microsoft.Uii.AifServices
Assembly:  Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)

Syntax

public void Connect(
    Uri organizationServiceUri,
    string liveId,
    string password,
    ClientCredentials deviceCredentials,
    bool isOffice365 = false
)
Public Sub Connect (
    organizationServiceUri As Uri,
    liveId As String,
    password As String,
    deviceCredentials As ClientCredentials,
    isOffice365 As Boolean
)

Parameters

  • organizationServiceUri
    Type: System.Uri

    Specifies the organization service URI.

  • isOffice365
    Type: System.Boolean

    True if it uses Office365 authentication, otherwise false.

See Also

Connect Overload
AuthenticationService Class
Microsoft.Uii.AifServices Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright