Partager via


AuthenticationService.Connect Method (Uri, NetworkCredential)

 

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,
    NetworkCredential networkCredential
)
Public Sub Connect (
    organizationServiceUri As Uri,
    networkCredential As NetworkCredential
)

Parameters

  • organizationServiceUri
    Type: System.Uri

    Specifies the organization service URI.

  • networkCredential
    Type: System.Net.NetworkCredential

    Specifies the network credential. When given null value, uses the current user network credentials.

See Also

Connect Overload
AuthenticationService Class
Microsoft.Uii.AifServices Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright