Authenticates the user to the Exchange server.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Sub Login ( _
	userName As String, _
	password As String, _
	method As EwsAuthentication _
)
C#
public void Login(
	string userName,
	string password,
	EwsAuthentication method
)

Parameters

userName
Type: System..::..String
User's login name.
password
Type: System..::..String
User's password.
method
Type: Rebex.Net..::..EwsAuthentication
Authentication method.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also