Ews.Login Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9448)
Login(EwsAuthentication)
Authenticates the user to the Exchange server using the specified authentication method that does not require credentials (NTLM, Kerberos or Negotiate).
Declaration
public void Login(EwsAuthentication method)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsAuthentication | method | Authentication method. |
Login(String, EwsAuthentication)
Authenticates the user to the Exchange server using an OAuth access token.
Declaration
public void Login(string token, EwsAuthentication method)
Parameters
| Type | Name | Description |
|---|---|---|
| String | token | Access token. |
| EwsAuthentication | method | Authentication method (only OAuth 2.0 is supported at the moment). |
Login(String, String)
Authenticates the user to the Exchange server.
Declaration
public void Login(string userName, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | userName | User's login name. |
| String | password | User's password. |
Remarks
This method tries to authenticate using the following methods, in this order of preference: NTLM, Kerberos, Negotiate, Basic.
Login(String, String, EwsAuthentication)
Authenticates the user to the Exchange server.
Declaration
public void Login(string userName, string password, EwsAuthentication method)
Parameters
| Type | Name | Description |
|---|---|---|
| String | userName | User's login name. |
| String | password | User's password. |
| EwsAuthentication | method | Authentication method. |