/// <summary>
        /// 根据查询结果ds中数据值来初始化当前对象对应的各个属性数据
        /// </summary>
        /// <param name="ds">针对用户信息的查询结果</param>
        private void InitData(DataSet ds)
        {
            DataTable table = ds.Tables[0];

            ExceptionHelper.TrueThrow <ApplicationException>(table.Rows.Count == 0,
                                                             "对不起, 系统中没有找到与\"" + _StrUserLogOnName + "\"对应的有效帐号!\n请输入正确的用户名和口令!");

            DataRow row = table.Rows[0];

            _StrUserGuid      = OGUCommonDefine.DBValueToString(row["USER_GUID"]);
            _StrUserLogOnName = OGUCommonDefine.DBValueToString(row["LOGON_NAME"]);
            _RankDefine       = new RankDefine(OGUCommonDefine.DBValueToString(row["RANK_CODE"]),
                                               (int)row["SORT_ID"], OGUCommonDefine.DBValueToString(row["NAME"]), (int)row["VISIBLE"]);
            _OuUsers = new IOuUsers[table.Rows.Count];
            for (int i = 0; i < table.Rows.Count; i++)
            {
                _OuUsers[i] = new OuUsers(table.Rows[i]);
            }

            _IIdentity = new GenericIdentity(_StrUserLogOnName);
        }
		/// <summary>
		/// 根据查询结果ds中数据值来初始化当前对象对应的各个属性数据
		/// </summary>
		/// <param name="ds">针对用户信息的查询结果</param>
		private void InitData(DataSet ds)
		{
			DataTable table = ds.Tables[0];
			ExceptionHelper.TrueThrow<ApplicationException>(table.Rows.Count == 0,
				"对不起, 系统中没有找到与\"" + _StrUserLogOnName + "\"对应的有效帐号!\n请输入正确的用户名和口令!");

			DataRow row = table.Rows[0];
			_StrUserGuid = OGUCommonDefine.DBValueToString(row["USER_GUID"]);
			_StrUserLogOnName = OGUCommonDefine.DBValueToString(row["LOGON_NAME"]);
			_RankDefine = new RankDefine(OGUCommonDefine.DBValueToString(row["RANK_CODE"]),
				(int)row["SORT_ID"], OGUCommonDefine.DBValueToString(row["NAME"]), (int)row["VISIBLE"]);
			_OuUsers = new IOuUsers[table.Rows.Count];
			for (int i = 0; i < table.Rows.Count; i++)
				_OuUsers[i] = new OuUsers(table.Rows[i]);

			_IIdentity = new GenericIdentity(_StrUserLogOnName);
		}