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

# grantPermissionProc

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

  <h2 className="memtitle"><span className="permalink"><a href="#ae1cd6282f2b962d6546030ef18f93ff9">◆ </a></span>grantPermissionProc() <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_1GrantPermissionProcResponse">GrantPermissionProcResponse</a> gpudb::GPUdb::grantPermissionProc </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionProcRequest">GrantPermissionProcRequest</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 proc-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_1GrantPermissionProcRequest">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_1GrantPermissionProcResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ab737c77492222b5ce08c7c956e5d340e" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab737c77492222b5ce08c7c956e5d340e">◆ </a></span>grantPermissionProc() <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_1GrantPermissionProcResponse">GrantPermissionProcResponse</a> & gpudb::GPUdb::grantPermissionProc </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionProcRequest">GrantPermissionProcRequest</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_1GrantPermissionProcResponse">GrantPermissionProcResponse</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 proc-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_1GrantPermissionProcRequest">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_1GrantPermissionProcResponse">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_1GrantPermissionProcResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a39578835ce1484d4a150898a1774f62d" />

  <h2 className="memtitle"><span className="permalink"><a href="#a39578835ce1484d4a150898a1774f62d">◆ </a></span>grantPermissionProc() <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_1GrantPermissionProcResponse">GrantPermissionProcResponse</a> gpudb::GPUdb::grantPermissionProc </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">procName</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 proc-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#a43c6473ecd8c648a1ea0afa3541c2845">grant\_permission\_proc\_proc\_admin</a>: Admin access to the proc. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5797c99233dc45d3e6674cb60c7060d6">grant\_permission\_proc\_proc\_execute</a>: Execute access to the proc. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">procName</td>
              <td>Name of the proc to which the permission grants access. Must be an existing proc, or an empty string to grant access to all procs. </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_1GrantPermissionProcResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ae76c509220ba69f3f36732ec77c77199" />

  <h2 className="memtitle"><span className="permalink"><a href="#ae76c509220ba69f3f36732ec77c77199">◆ </a></span>grantPermissionProc() <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_1GrantPermissionProcResponse">GrantPermissionProcResponse</a> & gpudb::GPUdb::grantPermissionProc </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">procName</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_1GrantPermissionProcResponse">GrantPermissionProcResponse</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 proc-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#a43c6473ecd8c648a1ea0afa3541c2845">grant\_permission\_proc\_proc\_admin</a>: Admin access to the proc. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5797c99233dc45d3e6674cb60c7060d6">grant\_permission\_proc\_proc\_execute</a>: Execute access to the proc. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">procName</td>
              <td>Name of the proc to which the permission grants access. Must be an existing proc, or an empty string to grant access to all procs. </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_1GrantPermissionProcResponse">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_1GrantPermissionProcResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
