> ## 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.

# grantPermissionSystem

<div className="kinetica-doxygen">
  <div id="ac369cb52634167b30ce05c0f3a16cc53" />

  <h2 className="memtitle"><span className="permalink"><a href="#ac369cb52634167b30ce05c0f3a16cc53">◆ </a></span>grantPermissionSystem() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">GrantPermissionSystemResponse</a> gpudb::GPUdb::grantPermissionSystem </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemRequest">GrantPermissionSystemRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a9634c497d7035ee98062b6f92a63be8d">grantPermission</a> instead] Grants a system-level permission to a user or role. </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">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ad059fd03ac708e02b8e161c70b70b88d" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">GrantPermissionSystemResponse</a> & gpudb::GPUdb::grantPermissionSystem </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemRequest">GrantPermissionSystemRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">GrantPermissionSystemResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a9634c497d7035ee98062b6f92a63be8d">grantPermission</a> instead] Grants a system-level permission to a user or role. </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">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a690cdf000db0679b6955d10585398b84" />

  <h2 className="memtitle"><span className="permalink"><a href="#a690cdf000db0679b6955d10585398b84">◆ </a></span>grantPermissionSystem() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">GrantPermissionSystemResponse</a> gpudb::GPUdb::grantPermissionSystem </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> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#ad2439e67beadacbe234814ad9c4e4691">grantPermission</a> instead] Grants a system-level permission to a user or role. </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>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a4f2521179ba1025d1df0a280a9303835" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4f2521179ba1025d1df0a280a9303835">◆ </a></span>grantPermissionSystem() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">GrantPermissionSystemResponse</a> & gpudb::GPUdb::grantPermissionSystem </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>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">GrantPermissionSystemResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#ad2439e67beadacbe234814ad9c4e4691">grantPermission</a> instead] Grants a system-level permission to a user or role. </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>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionSystemResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
