示例#1
0
        /// <summary>
        /// 通过 RPC 远程调用数据验证用户信息
        /// </summary>
        /// <returns>true 表示验证成功;false 表示验证失败</returns>
        public bool ValidateInRemote()
        {
            if (!this.CheckNotNullOfNameAndPwd())
            {
                return(false);
            }

            var userName = this._userName.ToLower();  // To lower

            return(this.ValidateUserMembershipRPC(userName, this._password, HttpRequestHelper.GetClientHostIP()));
        }