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

The class provides the methods to assist MS_OXWSMSGSUTControlAdapter and MS_OXWSSRCHSUTControlAdapter.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode 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 méthode

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
Résultat void