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 _
)
C#
public void Login(
	string userName,
	string password
)

Parameters

userName
Type: System..::..String
User's login name.
password
Type: System..::..String
User's password.

Remarks

This method tries to authenticate using the following methods, in this order of preference: NTLM, Kerberos, Negotiate, Basic.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also