EwsSetCredentials Method
Sets the login and password of the MS Exchange account for subsequent operations.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public void SetCredentials(
	string accountName,
	string password
)

Parameters

accountName
Type: SystemString
The account name or a null reference (Nothing in Visual Basic) in case if Integrated Windows Authentication must be used.
password
Type: SystemString
The account password or a null reference in case if Integrated Windows Authentication must be used.
See Also