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

> gpudb::GrantPermissionProcRequest — 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#ae1cd6282f2b962d6546030ef18f93ff9">GPUdb::grantPermissionProc</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">gpudb/protocol/grant\_permission\_proc.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:a018cd4692a5b0ffb2f76a5e1c5f51545" id="r_a018cd4692a5b0ffb2f76a5e1c5f51545">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a018cd4692a5b0ffb2f76a5e1c5f51545">GrantPermissionProcRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a018cd4692a5b0ffb2f76a5e1c5f51545">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GrantPermissionProcRequest" title="A set of parameters for GPUdb::grantPermissionProc.">GrantPermissionProcRequest</a> object with default parameters. <br /></td>
      </tr>

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

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

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

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

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

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

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

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

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

      <tr className="memdesc:a4a205297a8c346eb727301ff1e38ac47">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the proc to which the permission grants access. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a3a8eb69e0f96e49e32b5f95f3864402c">
        <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#ae1cd6282f2b962d6546030ef18f93ff9">GPUdb::grantPermissionProc</a>. </p>
      <p>Grants a proc-level permission to a user or role. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source#l00018">18</a> of file <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">grant\_permission\_proc.h</a>.</p>
    </div>

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

    <h2 className="memtitle"><span className="permalink"><a href="#a1febcd3637255640247d9166b14e0f3b">◆ </a></span>GrantPermissionProcRequest() <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::GrantPermissionProcRequest::GrantPermissionProcRequest </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>
              </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_1GrantPermissionProcRequest" title="A set of parameters for GPUdb::grantPermissionProc.">GrantPermissionProcRequest</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#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>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source#l00056">56</a> of file <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">grant\_permission\_proc.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionProcRequest::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__proc_8h_source#l00068">68</a> of file <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">grant\_permission\_proc.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::GrantPermissionProcRequest::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__proc_8h_source#l00093">93</a> of file <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">grant\_permission\_proc.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::GrantPermissionProcRequest::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#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>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source#l00082">82</a> of file <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">grant\_permission\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a4a205297a8c346eb727301ff1e38ac47">◆ </a></span>procName</h2>

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

      <div className="memdoc">
        <p>Name of the proc to which the permission grants access. </p>
        <p>Must be an existing proc, or an empty string to grant access to all procs. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source#l00088">88</a> of file <a className="el" href="/content/api/cpp/grant__permission__proc_8h_source">grant\_permission\_proc.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__proc_8h_source">grant\_permission\_proc.h</a></li>
    </ul>
  </div>
</div>
