Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        private void AuthenticateUser()
        {
            //string wSiteName = Environment.GetEnvironmentVariable("USERDNSDOMAIN");
            String wDomainName = string.Empty;

            if (cmbDominios.Enabled)
            {
                wDomainName = cmbDominios.EditValue == null ? null : cmbDominios.EditValue.ToString();
            }

            ///FormBase.AuthenticateUser(txtUserName.Text, txtPassword.Text, _AuthenticationMode, wDomainName, _IsEnvironmentUser, wSiteName.ToString());
            FormBase.AuthenticateUser(txtUserName.Text, txtPassword.Text, _AuthenticationMode, wDomainName, _IsEnvironmentUser);
        }
 /// <summary>
 ///
 /// </summary>
 private void AuthenticateUser()
 {
     FormBase.AuthenticateUser(txtUserName.Text, txtPassword.Text, AuthenticationModeEnum.ASPNETMemberShips, string.Empty, false);
 }