AuthenticationService.Connect Method (Uri, String, String, ClientCredentials, Boolean)
Connects to the specified organization service URI.
Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)
Usage
'Usage
Dim instance As AuthenticationService
Dim organizationServiceUri As Uri
Dim liveId As String
Dim password As String
Dim deviceCredentials As ClientCredentials
Dim isOffice365 As Boolean
instance.Connect(organizationServiceUri, liveId, password, deviceCredentials, isOffice365)
Syntax
'Declaration
Public Sub Connect ( _
organizationServiceUri As Uri, _
liveId As String, _
password As String, _
deviceCredentials As ClientCredentials, _
<OptionalAttribute> Optional isOffice365 As Boolean = False _
)
public void Connect (
Uri organizationServiceUri,
string liveId,
string password,
ClientCredentials deviceCredentials,
[OptionalAttribute] bool isOffice365
)
public:
void Connect (
Uri^ organizationServiceUri,
String^ liveId,
String^ password,
ClientCredentials^ deviceCredentials,
[OptionalAttribute] bool isOffice365
)
public void Connect (
Uri organizationServiceUri,
String liveId,
String password,
ClientCredentials deviceCredentials,
/** @attribute OptionalAttribute() */ boolean isOffice365
)
public function Connect (
organizationServiceUri : Uri,
liveId : String,
password : String,
deviceCredentials : ClientCredentials,
isOffice365 : boolean
)
Parameters
- organizationServiceUri
Specifies the organization service URI.
- liveId
Specifies the live id (email id).
- password
Specifies the password.
- deviceCredentials
Specifies the device credentials.
- isOffice365
True if it uses Office365 authentication, otherwise false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
AuthenticationService Class
AuthenticationService Members
Microsoft.Uii.AifServices Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.