AuthenticationService.Connect Method (Uri, Uri, NetworkCredential, String, Boolean)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Connects to the specified discovery service URI.
Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)
Syntax
public void Connect(
Uri discoveryServiceUri,
Uri homeRealmUri,
NetworkCredential networkCredential,
string organizationName,
bool customIdentityProvider = false
)
Public Sub Connect (
discoveryServiceUri As Uri,
homeRealmUri As Uri,
networkCredential As NetworkCredential,
organizationName As String,
customIdentityProvider As Boolean
)
Parameters
discoveryServiceUri
Type: System.UriSpecifies the discovery service URI.
homeRealmUri
Type: System.UriSpecifies the home realm URI. Not null for federation authentication.
networkCredential
Type: System.Net.NetworkCredentialSpecifies the network credential. When given null value, uses the current user network credentials.
organizationName
Type: System.StringSpecifies the name of the organization.
customIdentityProvider
Type: System.BooleanTrue when using custom credentials, 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