Exemplo n.º 1
0
        /// <summary>
        /// Tests the credential.
        /// </summary>
        /// <returns>true if valid credentials, false otherwise</returns>
        private bool TestCredential()
        {
            bool isValidUserAccount = true;

            if (this.radioDomainAccount.IsChecked.GetValueOrDefault(false))
            {
                isValidUserAccount = UserAccountHelper.ValidateServiceAccount();
            }

            return(isValidUserAccount);
        }