private void Impersonate(bool bImpersonate) { if (bImpersonate) { MLogin.Impersonate(Username, Password, true); } else { MLogin.Clear(); } }