> ## 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#adcd815966b58a0175413446b6038b6dd" title="Optional parameters.">HasRoleRequest.options</a>. <a href="#details">More...</a></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="pub-static-attribs" />

            Static Public Attributes
          </h2>
        </td>
      </tr>

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

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

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

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

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

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

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

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

      <tr className="memdesc:ab04ce0a9022535a8131c289cd200cc95">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If <a className="el" href="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a> will search recursively if the <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a1c6fdc6620f29164922a7f0b495ec1b8" 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#a33198e730bf6653feb7cd1bb76d3ce1a" title="Name of role to check for membership.">HasRoleRequest.role</a>. <br /></td>
      </tr>

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

    <div id="details" />

    <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#adcd815966b58a0175413446b6038b6dd" title="Optional parameters.">HasRoleRequest.options</a>. </p>
      <p>Optional parameters.</p>
      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs#L20">20</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs">HasRole.cs</a>.</p>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>

    <div id="a4986310ca90b579cf8cfd821fa3ccfc3" />

    <h2 className="memtitle"><span className="permalink"><a href="#a4986310ca90b579cf8cfd821fa3ccfc3">◆ </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="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs#L50">50</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs">HasRole.cs</a>.</p>
      </div>
    </div>

    <div id="aaf49393232058acb332992d08c5f370a" />

    <h2 className="memtitle"><span className="permalink"><a href="#aaf49393232058acb332992d08c5f370a">◆ </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="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a> will return an error if the provided <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a33198e730bf6653feb7cd1bb76d3ce1a" title="Name of role to check for membership.">HasRoleRequest.role</a> does not exist or is blank. </p>
        <p>If <a className="el" href="#a5023ec4edded343c2ee7bc01ee18f760">TRUE</a> then it will return <a className="el" href="/content/api/cs/structkinetica_1_1HasRoleResponse_1_1HasRole#abee5a51e6b7b6c5d0b82780cf34b16fa">FALSE</a> for <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleResponse#a72a8b4610bb25154763528768950e69e">has\_role</a>. Supported values:</p>

        <ul>
          <li> <a className="el" href="#a5023ec4edded343c2ee7bc01ee18f760">TRUE</a> </li>
          <li> <a className="el" href="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs#L42">42</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs">HasRole.cs</a>.</p>
      </div>
    </div>

    <div id="ab04ce0a9022535a8131c289cd200cc95" />

    <h2 className="memtitle"><span className="permalink"><a href="#ab04ce0a9022535a8131c289cd200cc95">◆ </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="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a> will search recursively if the <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a1c6fdc6620f29164922a7f0b495ec1b8" 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#a33198e730bf6653feb7cd1bb76d3ce1a" title="Name of role to check for membership.">HasRoleRequest.role</a>. </p>
        <p>If <a className="el" href="#a5023ec4edded343c2ee7bc01ee18f760">TRUE</a> then <a className="el" href="/content/api/cs/classkinetica_1_1HasRoleRequest#a1c6fdc6620f29164922a7f0b495ec1b8" 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#a33198e730bf6653feb7cd1bb76d3ce1a" title="Name of role to check for membership.">HasRoleRequest.role</a>. Supported values:</p>

        <ul>
          <li> <a className="el" href="#a5023ec4edded343c2ee7bc01ee18f760">TRUE</a> </li>
          <li> <a className="el" href="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a4986310ca90b579cf8cfd821fa3ccfc3">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs#L72">72</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs">HasRole.cs</a>.</p>
      </div>
    </div>

    <div id="a5023ec4edded343c2ee7bc01ee18f760" />

    <h2 className="memtitle"><span className="permalink"><a href="#a5023ec4edded343c2ee7bc01ee18f760">◆ </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="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs#L46">46</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs">HasRole.cs</a>.</p>
      </div>
    </div>

    <hr />

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

    <ul>
      <li>Kinetica/Protocol/<a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/HasRole.cs">HasRole.cs</a></li>
    </ul>
  </div>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.