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

# kinetica.HasRoleRequest.Options

> kinetica.HasRoleRequest.Options — Kinetica C# API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of string constants for the parameter <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a803ffe5f88948a6e520e93f6798aa783" title="Optional parameters.">HasRoleRequest.options</a>. <a href="#details">More...</a></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Static Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a887c756c0290e44209a22ece3e51b0c7" id="r_a887c756c0290e44209a22ece3e51b0c7">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a887c756c0290e44209a22ece3e51b0c7">NO\_ERROR\_IF\_NOT\_EXISTS</a> = "no\_error\_if\_not\_exists"</td>
      </tr>

      <tr className="memdesc:a887c756c0290e44209a22ece3e51b0c7">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> will return an error if the provided <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a31da0152129adfe8a4f76f81f5cb2c1d" title="Name of role to check for membership.">HasRoleRequest.role</a> does not exist or is blank. <br /></td>
      </tr>

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

      <tr className="memitem:ac73df93291d8bae5f0c0522d2afba56f" id="r_ac73df93291d8bae5f0c0522d2afba56f">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac73df93291d8bae5f0c0522d2afba56f">TRUE</a> = "true"</td>
      </tr>

      <tr className="memdesc:ac73df93291d8bae5f0c0522d2afba56f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1HasRoleRequest_1_1Options" title="A set of string constants for the parameter HasRoleRequest.options.">HasRoleRequest.Options</a> options. <br /></td>
      </tr>

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

      <tr className="memitem:a689ff1714c11111a9fd617ff3dc84004" id="r_a689ff1714c11111a9fd617ff3dc84004">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> = "false"</td>
      </tr>

      <tr className="memdesc:a689ff1714c11111a9fd617ff3dc84004">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1HasRoleRequest_1_1Options" title="A set of string constants for the parameter HasRoleRequest.options.">HasRoleRequest.Options</a> options. <br /></td>
      </tr>

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

      <tr className="memitem:aceafdf787c73be45048d204eef962a6b" id="r_aceafdf787c73be45048d204eef962a6b">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aceafdf787c73be45048d204eef962a6b">ONLY\_DIRECT</a> = "only\_direct"</td>
      </tr>

      <tr className="memdesc:aceafdf787c73be45048d204eef962a6b">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> will search recursively if the <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a3e40f5dda3bfd7c55c06c8f68c3b513d" title="Name of the user for which role membership is being checked.">HasRoleRequest.principal</a> is a member of <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a31da0152129adfe8a4f76f81f5cb2c1d" title="Name of role to check for membership.">HasRoleRequest.role</a>. <br /></td>
      </tr>

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

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of string constants for the parameter <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a803ffe5f88948a6e520e93f6798aa783" title="Optional parameters.">HasRoleRequest.options</a>. </p>
      <p>Optional parameters.</p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source#l00020">20</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a>.</p>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.HasRoleRequest.Options.FALSE = "false"</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1HasRoleRequest_1_1Options" title="A set of string constants for the parameter HasRoleRequest.options.">HasRoleRequest.Options</a> options. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source#l00050">50</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a887c756c0290e44209a22ece3e51b0c7">◆ </a></span>NO\_ERROR\_IF\_NOT\_EXISTS</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.HasRoleRequest.Options.NO\_ERROR\_IF\_NOT\_EXISTS = "no\_error\_if\_not\_exists"</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>If <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> will return an error if the provided <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a31da0152129adfe8a4f76f81f5cb2c1d" title="Name of role to check for membership.">HasRoleRequest.role</a> does not exist or is blank. </p>
        <p>If <a className="el" href="#ac73df93291d8bae5f0c0522d2afba56f">TRUE</a> then it will return <a className="el" href="/content/api/cs/structkinetica_1_1HasRoleResponse_1_1HasRole#a28d33db5b3c02d834976857bd2e3c61e">FALSE</a> for <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleResponse#a127f44a76af3a2fd9d99523de524c138">has\_role</a>. Supported values:</p>

        <ul>
          <li> <a className="el" href="#ac73df93291d8bae5f0c0522d2afba56f">TRUE</a> </li>
          <li> <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source#l00042">42</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#aceafdf787c73be45048d204eef962a6b">◆ </a></span>ONLY\_DIRECT</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.HasRoleRequest.Options.ONLY\_DIRECT = "only\_direct"</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>If <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> will search recursively if the <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a3e40f5dda3bfd7c55c06c8f68c3b513d" title="Name of the user for which role membership is being checked.">HasRoleRequest.principal</a> is a member of <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a31da0152129adfe8a4f76f81f5cb2c1d" title="Name of role to check for membership.">HasRoleRequest.role</a>. </p>
        <p>If <a className="el" href="#ac73df93291d8bae5f0c0522d2afba56f">TRUE</a> then <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a3e40f5dda3bfd7c55c06c8f68c3b513d" title="Name of the user for which role membership is being checked.">HasRoleRequest.principal</a> must directly be a member of <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a31da0152129adfe8a4f76f81f5cb2c1d" title="Name of role to check for membership.">HasRoleRequest.role</a>. Supported values:</p>

        <ul>
          <li> <a className="el" href="#ac73df93291d8bae5f0c0522d2afba56f">TRUE</a> </li>
          <li> <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a689ff1714c11111a9fd617ff3dc84004">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source#l00072">72</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ac73df93291d8bae5f0c0522d2afba56f">◆ </a></span>TRUE</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.HasRoleRequest.Options.TRUE = "true"</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1HasRoleRequest_1_1Options" title="A set of string constants for the parameter HasRoleRequest.options.">HasRoleRequest.Options</a> options. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source#l00046">46</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following files:

    <ul>
      <li>\_build/public-os\_ubuntu24.04-arch\_amd64-cc\_gcc\_13.3.0/install/Kinetica/Protocol/<a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a></li>
      <li>Kinetica/Protocol/<a className="el" href="/content/api/cs/Kinetica_2Protocol_2HasRole_8cs_source">HasRole.cs</a></li>
    </ul>
  </div>
</div>
