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.UriSpecifies the organization service URI.
liveId
Type: System.StringSpecifies the live id (email id).
password
Type: System.StringSpecifies the password.
deviceCredentials
Type: System.ServiceModel.Description.ClientCredentialsSpecifies the device credentials.
isOffice365
Type: System.BooleanTrue 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