> ## 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::GrantPermissionRequest

> gpudb::GrantPermissionRequest — 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#a9634c497d7035ee98062b6f92a63be8d">GPUdb::grantPermission</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/grant__permission_8h_source">gpudb/protocol/grant\_permission.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:aaa06d0cea0144ebf2a39ca4f42d9fa87" id="r_aaa06d0cea0144ebf2a39ca4f42d9fa87">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aaa06d0cea0144ebf2a39ca4f42d9fa87">GrantPermissionRequest</a> ()</td>
      </tr>

      <tr className="memdesc:aaa06d0cea0144ebf2a39ca4f42d9fa87">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionRequest" title="A set of parameters for GPUdb::grantPermission.">GrantPermissionRequest</a> object with default parameters. <br /></td>
      </tr>

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

      <tr className="memitem:a4f6b61d2fd33a12e926bb694335b986b" id="r_a4f6b61d2fd33a12e926bb694335b986b">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a4f6b61d2fd33a12e926bb694335b986b">GrantPermissionRequest</a> (const std::string \&principal\_, const std::string \&object\_, const std::string \&objectType\_, const std::string \&permission\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

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

      <tr className="separator:a4f6b61d2fd33a12e926bb694335b986b">
        <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:a474bedfa438686c1008418175082ef34" id="r_a474bedfa438686c1008418175082ef34">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a474bedfa438686c1008418175082ef34">principal</a></td>
      </tr>

      <tr className="memdesc:a474bedfa438686c1008418175082ef34">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the user or role for which the permission is being granted. <br /></td>
      </tr>

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

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

      <tr className="memdesc:abd68b5492a35309399deba102e063883">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of object permission is being granted to. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a60da433cb7e924780089619cf53a644f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The type of object being granted to. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a6b16fb9a3832b6f60c403dd2e577203f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Permission being granted. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a63cb8b7160770aefb43e67d3526206b9">
        <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#a9634c497d7035ee98062b6f92a63be8d">GPUdb::grantPermission</a>. </p>
      <p>Grant user or role the specified permission on the specified object. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission_8h_source#l00018">18</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#aaa06d0cea0144ebf2a39ca4f42d9fa87">◆ </a></span>GrantPermissionRequest() <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::GrantPermissionRequest::GrantPermissionRequest </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_1GrantPermissionRequest" title="A set of parameters for GPUdb::grantPermission.">GrantPermissionRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission_8h_source#l00023">23</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a4f6b61d2fd33a12e926bb694335b986b">◆ </a></span>GrantPermissionRequest() <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::GrantPermissionRequest::GrantPermissionRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">principal\_</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">object\_</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">objectType\_</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::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_1GrantPermissionRequest" title="A set of parameters for GPUdb::grantPermission.">GrantPermissionRequest</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">principal\_</td>
                <td>Name of the user or role for which the permission is being granted. Must be an existing user or role. The default value is ''. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">object\_</td>
                <td>Name of object permission is being granted to. It is recommended to use a fully-qualified name when possible. </td>
              </tr>

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

                <td>
                  The type of object being granted to. Supported values:

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a37206fbd0e3f9a13ba7501bba59fba35">grant\_permission\_catalog</a>: Catalog </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a42fb948603eb67a1878fe13482424ccc">grant\_permission\_context</a>: Context </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a30324ffbea79fcc2c03d2d2847e86bd4">grant\_permission\_credential</a>: Credential </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a523356365f81da1f53fc155711e140ed">grant\_permission\_datasink</a>: Data Sink </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9e2706323be00f3327c77aa5d870978f">grant\_permission\_datasource</a>: Data Source </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a2d77669b19afc43493c7c9536ce1877e">grant\_permission\_directory</a>: KIFS File Directory </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae95634b80d04aa9bcaced536756ea65c">grant\_permission\_graph</a>: A Graph object </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a27022cfe33fd027afe98bd515ed76164">grant\_permission\_proc</a>: UDF Procedure </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a512589fd51b0092b7103127ae8fdd644">grant\_permission\_schema</a>: Schema </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a16be68186a83c46fde817e4127531312">grant\_permission\_sql\_proc</a>: SQL Procedure </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae3d494fb797e9ac977bcd6f741d953ab">grant\_permission\_system</a>: System-level access </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3e2e5848c2d8628e3c83ff6a937f2691">grant\_permission\_table</a>: Database Table </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9b09ff744019c2ac6820346ecc95386f">grant\_permission\_table\_monitor</a>: Table monitor </li>
                  </ul>
                </td>
              </tr>

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

                <td>
                  Permission being granted. Supported values:

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a89c89f9679a7e3cb100989e71eec9b0b">grant\_permission\_admin</a>: Full read/write and administrative access on the object. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a979b539e99ba5984ae718ab8a2fb4fb2">grant\_permission\_connect</a>: Connect access on the given data source or data sink. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#af47abdc51efdfef4eb6b2722aa70b0e8">grant\_permission\_create</a>: Ability to create new objects of this type. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0aab091df760dd732ba31c0b7fb9484f">grant\_permission\_delete</a>: Delete rows from tables. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad5b25c6916cff7f73c637e7d38eb8047">grant\_permission\_execute</a>: Ability to Execute the Procedure object. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0f36ab5887cbb13e802cff82d3053bdf">grant\_permission\_insert</a>: Insert access to tables. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a438f74c3ac20f9fd42dd1a3e20d3790f">grant\_permission\_monitor</a>: Monitor logs and statistics. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a692ef22b4fb5fcb9c69324be90c3c653">grant\_permission\_read</a>: Ability to read, list and use the object. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa34b4ec6ad55aaf3ecafd10b3cb0f19a">grant\_permission\_send\_alert</a>: Ability to send system alerts. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a668b88450069d5970c15657fe9d4f895">grant\_permission\_update</a>: Update access to the table. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa48e03113ef418f1eedb6828f0b810f6">grant\_permission\_user\_admin</a>: Access to administer users and roles that do not have system\_admin permission. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8a5928c9d9b4efcbb03f388ab98d08dd">grant\_permission\_write</a>: Access to write, change and delete objects. </li>
                  </ul>
                </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#a860307a66632035036a5055a090bd1fb">grant\_permission\_columns</a>: Apply table security to these columns, comma-separated. The default value is ''. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab61a6300639ade83eb2668f922d66b24">grant\_permission\_filter\_expression</a>: Filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ''. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a9c23b453e73de3a3acd1c44f17b9b36d">grant\_permission\_with\_grant\_option</a>: Allow the recipient to grant the same permission (or subset) to others. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3b94060fa83483944ccd69ec45996f1e">grant\_permission\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#aedd795b6c6635094d46108eb8242cb13">grant\_permission\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#aedd795b6c6635094d46108eb8242cb13">grant\_permission\_false</a>.
                    </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_8h_source#l00169">169</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Name of object permission is being granted to. </p>
        <p>It is recommended to use a fully-qualified name when possible. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission_8h_source#l00188">188</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a60da433cb7e924780089619cf53a644f">◆ </a></span>objectType</h2>

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

      <div className="memdoc">
        <p>The type of object being granted to. </p>
        <p>Supported values: </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a37206fbd0e3f9a13ba7501bba59fba35">grant\_permission\_catalog</a>: Catalog </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a42fb948603eb67a1878fe13482424ccc">grant\_permission\_context</a>: Context </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a30324ffbea79fcc2c03d2d2847e86bd4">grant\_permission\_credential</a>: Credential </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a523356365f81da1f53fc155711e140ed">grant\_permission\_datasink</a>: Data Sink </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9e2706323be00f3327c77aa5d870978f">grant\_permission\_datasource</a>: Data Source </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a2d77669b19afc43493c7c9536ce1877e">grant\_permission\_directory</a>: KIFS File Directory </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae95634b80d04aa9bcaced536756ea65c">grant\_permission\_graph</a>: A Graph object </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a27022cfe33fd027afe98bd515ed76164">grant\_permission\_proc</a>: UDF Procedure </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a512589fd51b0092b7103127ae8fdd644">grant\_permission\_schema</a>: Schema </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a16be68186a83c46fde817e4127531312">grant\_permission\_sql\_proc</a>: SQL Procedure </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae3d494fb797e9ac977bcd6f741d953ab">grant\_permission\_system</a>: System-level access </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3e2e5848c2d8628e3c83ff6a937f2691">grant\_permission\_table</a>: Database Table </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9b09ff744019c2ac6820346ecc95386f">grant\_permission\_table\_monitor</a>: Table monitor </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission_8h_source#l00222">222</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
      </div>
    </div>

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

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

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

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a860307a66632035036a5055a090bd1fb">grant\_permission\_columns</a>: Apply table security to these columns, comma-separated. The default value is ''. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab61a6300639ade83eb2668f922d66b24">grant\_permission\_filter\_expression</a>: Filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ''. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a9c23b453e73de3a3acd1c44f17b9b36d">grant\_permission\_with\_grant\_option</a>: Allow the recipient to grant the same permission (or subset) to others. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3b94060fa83483944ccd69ec45996f1e">grant\_permission\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#aedd795b6c6635094d46108eb8242cb13">grant\_permission\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#aedd795b6c6635094d46108eb8242cb13">grant\_permission\_false</a>.
          </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_8h_source#l00286">286</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Permission being granted. </p>
        <p>Supported values: </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a89c89f9679a7e3cb100989e71eec9b0b">grant\_permission\_admin</a>: Full read/write and administrative access on the object. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a979b539e99ba5984ae718ab8a2fb4fb2">grant\_permission\_connect</a>: Connect access on the given data source or data sink. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af47abdc51efdfef4eb6b2722aa70b0e8">grant\_permission\_create</a>: Ability to create new objects of this type. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0aab091df760dd732ba31c0b7fb9484f">grant\_permission\_delete</a>: Delete rows from tables. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad5b25c6916cff7f73c637e7d38eb8047">grant\_permission\_execute</a>: Ability to Execute the Procedure object. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0f36ab5887cbb13e802cff82d3053bdf">grant\_permission\_insert</a>: Insert access to tables. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a438f74c3ac20f9fd42dd1a3e20d3790f">grant\_permission\_monitor</a>: Monitor logs and statistics. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a692ef22b4fb5fcb9c69324be90c3c653">grant\_permission\_read</a>: Ability to read, list and use the object. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa34b4ec6ad55aaf3ecafd10b3cb0f19a">grant\_permission\_send\_alert</a>: Ability to send system alerts. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a668b88450069d5970c15657fe9d4f895">grant\_permission\_update</a>: Update access to the table. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa48e03113ef418f1eedb6828f0b810f6">grant\_permission\_user\_admin</a>: Access to administer users and roles that do not have system\_admin permission. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8a5928c9d9b4efcbb03f388ab98d08dd">grant\_permission\_write</a>: Access to write, change and delete objects. </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission_8h_source#l00259">259</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a474bedfa438686c1008418175082ef34">◆ </a></span>principal</h2>

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

      <div className="memdoc">
        <p>Name of the user or role for which the permission is being granted. </p>
        <p>Must be an existing user or role. The default value is ''. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission_8h_source#l00182">182</a> of file <a className="el" href="/content/api/cpp/grant__permission_8h_source">grant\_permission.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_8h_source">grant\_permission.h</a></li>
    </ul>
  </div>
</div>
