> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::GrantPermissionTableRequest

> gpudb::GrantPermissionTableRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a7645484bba3b9b9cf2d0549fa9ea4a5e">GPUdb::grantPermissionTable</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/grant__permission__table_8h_source">gpudb/protocol/grant\_permission\_table.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a959c42a5c2bd177bae1d688640eb5ceb" id="r_a959c42a5c2bd177bae1d688640eb5ceb">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a959c42a5c2bd177bae1d688640eb5ceb">GrantPermissionTableRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a959c42a5c2bd177bae1d688640eb5ceb">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionTableRequest" title="A set of parameters for GPUdb::grantPermissionTable.">GrantPermissionTableRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a959c42a5c2bd177bae1d688640eb5ceb">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:af2d7e717cbbba7fec83a7223053e68e7" id="r_af2d7e717cbbba7fec83a7223053e68e7">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#af2d7e717cbbba7fec83a7223053e68e7">GrantPermissionTableRequest</a> (const std::string \&name\_, const std::string \&permission\_, const std::string \&tableName\_, const std::string \&filterExpression\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:af2d7e717cbbba7fec83a7223053e68e7">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionTableRequest" title="A set of parameters for GPUdb::grantPermissionTable.">GrantPermissionTableRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:af2d7e717cbbba7fec83a7223053e68e7">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a51dd0d4c6e09b1f90858fd0f11145abf" id="r_a51dd0d4c6e09b1f90858fd0f11145abf">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a51dd0d4c6e09b1f90858fd0f11145abf">name</a></td>
      </tr>

      <tr className="memdesc:a51dd0d4c6e09b1f90858fd0f11145abf">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the user or role to which the permission will be granted. <br /></td>
      </tr>

      <tr className="separator:a51dd0d4c6e09b1f90858fd0f11145abf">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:abe844063925c1adb3eff097a168a1203" id="r_abe844063925c1adb3eff097a168a1203">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#abe844063925c1adb3eff097a168a1203">permission</a></td>
      </tr>

      <tr className="memdesc:abe844063925c1adb3eff097a168a1203">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Permission to grant to the user or role. <br /></td>
      </tr>

      <tr className="separator:abe844063925c1adb3eff097a168a1203">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:aaf420424c84ccd43380becd80977a04d" id="r_aaf420424c84ccd43380becd80977a04d">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aaf420424c84ccd43380becd80977a04d">tableName</a></td>
      </tr>

      <tr className="memdesc:aaf420424c84ccd43380becd80977a04d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the table to which the permission grants access, in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. <br /></td>
      </tr>

      <tr className="separator:aaf420424c84ccd43380becd80977a04d">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a31d63c44a373a5c93ce4c3c0cb6c453f" id="r_a31d63c44a373a5c93ce4c3c0cb6c453f">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a31d63c44a373a5c93ce4c3c0cb6c453f">filterExpression</a></td>
      </tr>

      <tr className="memdesc:a31d63c44a373a5c93ce4c3c0cb6c453f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional filter expression to apply to this grant. <br /></td>
      </tr>

      <tr className="separator:a31d63c44a373a5c93ce4c3c0cb6c453f">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a4a0fa9f6aaeddc85d04421c82f8742a8" id="r_a4a0fa9f6aaeddc85d04421c82f8742a8">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a4a0fa9f6aaeddc85d04421c82f8742a8">options</a></td>
      </tr>

      <tr className="memdesc:a4a0fa9f6aaeddc85d04421c82f8742a8">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a4a0fa9f6aaeddc85d04421c82f8742a8">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a7645484bba3b9b9cf2d0549fa9ea4a5e">GPUdb::grantPermissionTable</a>. </p>
      <p>Grants a table-level permission to a user or role. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00018">18</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a959c42a5c2bd177bae1d688640eb5ceb">◆ </a></span>GrantPermissionTableRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::GrantPermissionTableRequest::GrantPermissionTableRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionTableRequest" title="A set of parameters for GPUdb::grantPermissionTable.">GrantPermissionTableRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00024">24</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#af2d7e717cbbba7fec83a7223053e68e7">◆ </a></span>GrantPermissionTableRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::GrantPermissionTableRequest::GrantPermissionTableRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">name\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">permission\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">tableName\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">filterExpression\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionTableRequest" title="A set of parameters for GPUdb::grantPermissionTable.">GrantPermissionTableRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">name\_</td>
                <td>Name of the user or role to which the permission will be granted. Must be an existing user or role. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">permission\_</td>

                <td>
                  Permission to grant to the user or role. Supported values:

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a143306a2b55e28fbb97cdb7a15819ddf">grant\_permission\_table\_table\_admin</a>: Full read/write and administrative access to the table. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3c5bc1409091cf8a64bb9ccc20dda443">grant\_permission\_table\_table\_insert</a>: Insert access to the table. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aef289a043bbd7e5fa4532820b81a5065">grant\_permission\_table\_table\_update</a>: Update access to the table. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3abb5fcb6767f9871db6f6bdb63e2df8">grant\_permission\_table\_table\_delete</a>: Delete access to the table. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a2f8fad1eccd565474e553085c4bd57a9">grant\_permission\_table\_table\_read</a>: Read access to the table. </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">tableName\_</td>
                <td>Name of the table to which the permission grants access, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing table, view, or schema. If a schema, the permission also applies to tables and views in the schema. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">filterExpression\_</td>
                <td>Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ''. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#abbac109214b76a5d44567061bd4a920f">grant\_permission\_table\_columns</a>: Apply security to these columns, comma-separated. The default value is ''. </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00087">87</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a31d63c44a373a5c93ce4c3c0cb6c453f">◆ </a></span>filterExpression</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionTableRequest::filterExpression</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional filter expression to apply to this grant. </p>
        <p>Only rows that match the filter will be affected. The default value is ''. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00139">139</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a51dd0d4c6e09b1f90858fd0f11145abf">◆ </a></span>name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionTableRequest::name</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the user or role to which the permission will be granted. </p>
        <p>Must be an existing user or role. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00100">100</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a4a0fa9f6aaeddc85d04421c82f8742a8">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::GrantPermissionTableRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#abbac109214b76a5d44567061bd4a920f">grant\_permission\_table\_columns</a>: Apply security to these columns, comma-separated. The default value is ''. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00150">150</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#abe844063925c1adb3eff097a168a1203">◆ </a></span>permission</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionTableRequest::permission</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Permission to grant to the user or role. </p>
        <p>Supported values: </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a143306a2b55e28fbb97cdb7a15819ddf">grant\_permission\_table\_table\_admin</a>: Full read/write and administrative access to the table. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3c5bc1409091cf8a64bb9ccc20dda443">grant\_permission\_table\_table\_insert</a>: Insert access to the table. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aef289a043bbd7e5fa4532820b81a5065">grant\_permission\_table\_table\_update</a>: Update access to the table. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3abb5fcb6767f9871db6f6bdb63e2df8">grant\_permission\_table\_table\_delete</a>: Delete access to the table. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a2f8fad1eccd565474e553085c4bd57a9">grant\_permission\_table\_table\_read</a>: Read access to the table. </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00123">123</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#aaf420424c84ccd43380becd80977a04d">◆ </a></span>tableName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionTableRequest::tableName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the table to which the permission grants access, in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </p>
        <p>Must be an existing table, view, or schema. If a schema, the permission also applies to tables and views in the schema. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__table_8h_source#l00133">133</a> of file <a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/grant__permission__table_8h_source">grant\_permission\_table.h</a></li>
    </ul>
  </div>
</div>
