C# Class Microsoft.Protocols.TestSuites.MS_OXWSMSG.AdapterHelper

The class provides the methods to assist MS_OXWSMSGSUTControlAdapter and MS_OXWSSRCHSUTControlAdapter.
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
SwitchUser ( string userName, string password, string domain, ExchangeServiceBinding exchangeServiceBinding, ITestSite site ) : void

Switch the current user to the new user, with the identity of the new role to communicate with server.

Method Details

SwitchUser() public static method

Switch the current user to the new user, with the identity of the new role to communicate with server.
public static SwitchUser ( string userName, string password, string domain, ExchangeServiceBinding exchangeServiceBinding, ITestSite site ) : void
userName string The userName of the user used to communicate with server
password string The password of the user used to communicate with server
domain string The domain of the user used to communicate with server
exchangeServiceBinding Microsoft.Protocols.TestSuites.Common.ExchangeServiceBinding An instance of Service Binding
site ITestSite An instance of ITestSite
return void