ServiceConnection ConnectAsync Method (String, String, String, Nullable DWProductTypes )DocuWare Platform .NET API
Connects this instance with new credentials.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: 6.5.0.0 (6.5.0.5648)
Syntax

public Task ConnectAsync(
	string userName,
	string password,
	string organization = null,
	Nullable<DWProductTypes> licenseType = null
)

Parameters

userName
Type: OnlineSystem String
Name of the user.
password
Type: OnlineSystem String
The password.
organization (Optional)
Type: OnlineSystem String
The organization.
licenseType (Optional)
Type: OnlineSystem Nullable DWProductTypes 
Type of the license.

Return Value

Type: OnlineTask
A task which executes the connection process.
See Also