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

# grantPermissionTable

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

  <h2 className="memtitle"><span className="permalink"><a href="#a4c9971a52c46e8d0d153b94c37f410a7">◆ </a></span>grantPermissionTable() <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"><a className="el" href="/content/api/cs/classkinetica_1_1GrantPermissionTableResponse">GrantPermissionTableResponse</a> kinetica.Kinetica.grantPermissionTable </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1GrantPermissionTableRequest">GrantPermissionTableRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></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>\[DEPRECATED–please use <a className="el" href="#a9ad93fdd727699f581ba0d742613b887">grantPermission</a> instead] Grants a table-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="paramname">request\_</td>
              <td>Request 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">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L42944">42944</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a1583aa78f1f2ab098bf058887565ec52" />

  <h2 className="memtitle"><span className="permalink"><a href="#a1583aa78f1f2ab098bf058887565ec52">◆ </a></span>grantPermissionTable() <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"><a className="el" href="/content/api/cs/classkinetica_1_1GrantPermissionTableResponse">GrantPermissionTableResponse</a> kinetica.Kinetica.grantPermissionTable </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">permission</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">filter\_expression</span></span><span className="paramdefsep"> = </span><span className="paramdefval">""</span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</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>\[DEPRECATED–please use <a className="el" href="#a9ad93fdd727699f581ba0d742613b887">grantPermission</a> instead] Grants a table-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="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="paramname">permission</td>

              <td>
                Permission to grant to the user or role. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a736c1483791acb7061b3253a70361a1a">TABLE\_ADMIN</a>: Full read/write and administrative access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a009a38567f121534644183c8ef7b7a86">TABLE\_INSERT</a>: Insert access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a9870151d1d0681d6c4a442a98308c16d">TABLE\_UPDATE</a>: Update access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a04ac9766ece75669e244fb82f754ddca">TABLE\_DELETE</a>: Delete access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a63fbd5c04dcc1422e1d2535ae157bd52">TABLE\_READ</a>: Read access to the table. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table to which the permission grants access, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing table, view, or schema. If a schema, the permission also applies to tables and views in the schema.</td>
            </tr>

            <tr>
              <td className="paramname">filter\_expression</td>
              <td>Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Options#af7abdcdffe85b4b3f596d5e4ea139a4c">COLUMNS</a>: Apply security to these columns, comma-separated. The default value is ''. </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L43033">43033</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a2578d658798b248c0ce3384d1815d8a8" />

  <h2 className="memtitle"><span className="permalink"><a href="#a2578d658798b248c0ce3384d1815d8a8">◆ </a></span>GrantPermissionTableAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1GrantPermissionTableResponse">GrantPermissionTableResponse</a> > kinetica.Kinetica.GrantPermissionTableAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1GrantPermissionTableRequest">GrantPermissionTableRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>\[DEPRECATED–please use <a className="el" href="#a9ad93fdd727699f581ba0d742613b887">grantPermission</a> instead] Grants a table-level permission to a user or role. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L42962">42962</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a8d45f3374f8d738e3846149bf3c4fdad" />

  <h2 className="memtitle"><span className="permalink"><a href="#a8d45f3374f8d738e3846149bf3c4fdad">◆ </a></span>GrantPermissionTableAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1GrantPermissionTableResponse">GrantPermissionTableResponse</a> > kinetica.Kinetica.GrantPermissionTableAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">permission</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">filter\_expression</span></span><span className="paramdefsep"> = </span><span className="paramdefval">""</span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>\[DEPRECATED–please use <a className="el" href="#a9ad93fdd727699f581ba0d742613b887">grantPermission</a> instead] Grants a table-level permission to a user or role. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <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="paramname">permission</td>

              <td>
                Permission to grant to the user or role. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a736c1483791acb7061b3253a70361a1a">TABLE\_ADMIN</a>: Full read/write and administrative access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a009a38567f121534644183c8ef7b7a86">TABLE\_INSERT</a>: Insert access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a9870151d1d0681d6c4a442a98308c16d">TABLE\_UPDATE</a>: Update access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a04ac9766ece75669e244fb82f754ddca">TABLE\_DELETE</a>: Delete access to the table. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Permission#a63fbd5c04dcc1422e1d2535ae157bd52">TABLE\_READ</a>: Read access to the table. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table to which the permission grants access, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing table, view, or schema. If a schema, the permission also applies to tables and views in the schema.</td>
            </tr>

            <tr>
              <td className="paramname">filter\_expression</td>
              <td>Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1GrantPermissionTableRequest_1_1Options#af7abdcdffe85b4b3f596d5e4ea139a4c">COLUMNS</a>: Apply security to these columns, comma-separated. The default value is ''. </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L43111">43111</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
