.. _sys_user_mapping(KES):

sys_user_mapping
^^^^^^^^^^^^^^^^^^^^^^^^


\ ``sys_user_mapping``\ 视图存储从本地用户到远程的映射。普通用户查询该视图存在限制，可使用视图 :ref:`sys_user_mappings(KES)` 替代。

.. table:: sys_user_mapping列
      :widths: 2 1 3 
      :class: longtable

      +---------------+------------+------------------------------------------------------+
      | 名称          | 类型       | 描述                                                 |
      +===============+============+======================================================+
      | ``oid``       | ``oid``    | 行标识符                                             |
      +---------------+------------+------------------------------------------------------+
      | ``umuser``    | ``oid``    | 将要被映射的本地角色的OID，如果用户映射是公共的则为0 |
      +---------------+------------+------------------------------------------------------+
      | ``umserver``  | ``oid``    | 包含此映射的外部服务器的OID                          |
      +---------------+------------+------------------------------------------------------+
      | ``umoptions`` | ``text[]`` | 用户映射相关选项，以“keyword= value”字符串形式       |
      +---------------+------------+------------------------------------------------------+


