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

> gpudb::GrantPermissionSystemRequest — 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#ac369cb52634167b30ce05c0f3a16cc53">GPUdb::grantPermissionSystem</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/grant__permission__system_8h_source">gpudb/protocol/grant\_permission\_system.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:acaaa5bc021bc50c929900ce5eca0c211" id="r_acaaa5bc021bc50c929900ce5eca0c211">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#acaaa5bc021bc50c929900ce5eca0c211">GrantPermissionSystemRequest</a> ()</td>
      </tr>

      <tr className="memdesc:acaaa5bc021bc50c929900ce5eca0c211">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemRequest" title="A set of parameters for GPUdb::grantPermissionSystem.">GrantPermissionSystemRequest</a> object with default parameters. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a0bcbce4d14fd4d4aed312522c22aeb02">
        <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:aa03d9ff4774c4196badcfc625f5dbca6" id="r_aa03d9ff4774c4196badcfc625f5dbca6">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa03d9ff4774c4196badcfc625f5dbca6">name</a></td>
      </tr>

      <tr className="memdesc:aa03d9ff4774c4196badcfc625f5dbca6">
        <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:aa03d9ff4774c4196badcfc625f5dbca6">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

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

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

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

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

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

      <tr className="separator:afee15074d62b09939d261c20ac8dd938">
        <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#ac369cb52634167b30ce05c0f3a16cc53">GPUdb::grantPermissionSystem</a>. </p>
      <p>Grants a system-level permission to a user or role. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__system_8h_source#l00018">18</a> of file <a className="el" href="/content/api/cpp/grant__permission__system_8h_source">grant\_permission\_system.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#acaaa5bc021bc50c929900ce5eca0c211">◆ </a></span>GrantPermissionSystemRequest() <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::GrantPermissionSystemRequest::GrantPermissionSystemRequest </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_1GrantPermissionSystemRequest" title="A set of parameters for GPUdb::grantPermissionSystem.">GrantPermissionSystemRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__system_8h_source#l00024">24</a> of file <a className="el" href="/content/api/cpp/grant__permission__system_8h_source">grant\_permission\_system.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a0bcbce4d14fd4d4aed312522c22aeb02">◆ </a></span>GrantPermissionSystemRequest() <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::GrantPermissionSystemRequest::GrantPermissionSystemRequest </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::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_1GrantPermissionSystemRequest" title="A set of parameters for GPUdb::grantPermissionSystem.">GrantPermissionSystemRequest</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#a49aad29893cb4fb4f1d0bfb4f57d239d">grant\_permission\_system\_system\_admin</a>: Full access to all data and system functions. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a879bdf733506f4d379b861764b21aa97">grant\_permission\_system\_system\_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#a41eb05f344d0171357a90f9e0ca8a172">grant\_permission\_system\_system\_write</a>: Read and write access to all tables. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab90683aa57001d9351300e4bcfd0e180">grant\_permission\_system\_system\_read</a>: Read-only access to all tables. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa08faff6e90820903186c756adb5f106">grant\_permission\_system\_system\_send\_alert</a>: Send system alerts. </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. 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__system_8h_source#l00067">67</a> of file <a className="el" href="/content/api/cpp/grant__permission__system_8h_source">grant\_permission\_system.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionSystemRequest::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__system_8h_source#l00078">78</a> of file <a className="el" href="/content/api/cpp/grant__permission__system_8h_source">grant\_permission\_system.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__system_8h_source#l00107">107</a> of file <a className="el" href="/content/api/cpp/grant__permission__system_8h_source">grant\_permission\_system.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionSystemRequest::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#a49aad29893cb4fb4f1d0bfb4f57d239d">grant\_permission\_system\_system\_admin</a>: Full access to all data and system functions. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a879bdf733506f4d379b861764b21aa97">grant\_permission\_system\_system\_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#a41eb05f344d0171357a90f9e0ca8a172">grant\_permission\_system\_system\_write</a>: Read and write access to all tables. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab90683aa57001d9351300e4bcfd0e180">grant\_permission\_system\_system\_read</a>: Read-only access to all tables. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa08faff6e90820903186c756adb5f106">grant\_permission\_system\_system\_send\_alert</a>: Send system alerts. </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__system_8h_source#l00102">102</a> of file <a className="el" href="/content/api/cpp/grant__permission__system_8h_source">grant\_permission\_system.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__system_8h_source">grant\_permission\_system.h</a></li>
    </ul>
  </div>
</div>
