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

> gpudb::RevokeRoleRequest — Kinetica C++ API

A set of parameters for [GPUdb::revokeRole](https://docs.kinetica.com/content/api/cpp/classgpudb_1_1GPUdb/revokerole.md#af2ab5ebfb9d96023490305c680d6f923). [More...](#details)`#include <gpudb/protocol/revoke_role.h>`

<table>
  <tr>
    <td colSpan="2">
      ## Public Member Functions
    </td>
  </tr>

  <tr id="r_a2e5c2c6243b15d0b4488e12ba7021412">
    <td align="right" valign="top"> </td>
    <td valign="bottom">[RevokeRoleRequest](#a2e5c2c6243b15d0b4488e12ba7021412) ()</td>
  </tr>

  <tr>
    <td> </td>
    <td>Constructs a [RevokeRoleRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1RevokeRoleRequest.md) object with default parameters. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>

  <tr id="r_a1cb9b5f9b1082eaa8b9b83c4f145f0ee">
    <td align="right" valign="top"> </td>
    <td valign="bottom">[RevokeRoleRequest](#a1cb9b5f9b1082eaa8b9b83c4f145f0ee) (const std::string \&role\_, const std::string \&member\_, const std::map\< std::string, std::string > \&options\_)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Constructs a [RevokeRoleRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1RevokeRoleRequest.md) object with the specified parameters. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>
</table>

<table>
  <tr>
    <td colSpan="2">
      ## Public Attributes
    </td>
  </tr>

  <tr id="r_a2fd29fa824e9396c29ea97b80f8379ef">
    <td align="right" valign="top">std::string </td>
    <td valign="bottom">[role](#a2fd29fa824e9396c29ea97b80f8379ef)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Name of the role in which membership will be revoked. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>

  <tr id="r_afdeedc3f5526f8dfd0b2acbb32e34b8d">
    <td align="right" valign="top">std::string </td>
    <td valign="bottom">[member](#afdeedc3f5526f8dfd0b2acbb32e34b8d)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Name of the user or role that will be revoked membership in [role](#a2fd29fa824e9396c29ea97b80f8379ef). \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>

  <tr id="r_aaf1f869639a92f5da6ca92721a32676c">
    <td align="right" valign="top">std::map\< std::string, std::string > </td>
    <td valign="bottom">[options](#aaf1f869639a92f5da6ca92721a32676c)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Optional parameters. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>
</table>

## Detailed Description

A set of parameters for [GPUdb::revokeRole](https://docs.kinetica.com/content/api/cpp/classgpudb_1_1GPUdb/revokerole.md#af2ab5ebfb9d96023490305c680d6f923). Revokes membership in a role from a user or role. Definition at line [17](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h#L17) of file [revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h).

## Constructor & Destructor Documentation

## [◆ ](#a2e5c2c6243b15d0b4488e12ba7021412)RevokeRoleRequest() \[1/2]

<table>
  <tr>
    <td>
      <table>
        <tr>
          <td>gpudb::RevokeRoleRequest::RevokeRoleRequest </td>
          <td>(</td>

          <td />

          <td>)</td>

          <td />
        </tr>
      </table>
    </td>

    <td> inline </td>
  </tr>
</table>

Constructs a [RevokeRoleRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1RevokeRoleRequest.md) object with default parameters. Definition at line [22](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h#L22) of file [revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h).

## [◆ ](#a1cb9b5f9b1082eaa8b9b83c4f145f0ee)RevokeRoleRequest() \[2/2]

<table>
  <tr>
    <td>
      <table>
        <tr>
          <td>gpudb::RevokeRoleRequest::RevokeRoleRequest </td>
          <td>(</td>
          <td>const std::string &</td>
          <td>role\_, </td>
        </tr>

        <tr>
          <td />

          <td />

          <td>const std::string &</td>
          <td>member\_, </td>
        </tr>

        <tr>
          <td />

          <td />

          <td>const std::map\< std::string, std::string > &</td>
          <td>options\_ )</td>
        </tr>
      </table>
    </td>

    <td> inline </td>
  </tr>
</table>

Constructs a [RevokeRoleRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1RevokeRoleRequest.md) object with the specified parameters.&#x20;

Parameters

<table>
  <tr>
    <td>\[in]</td>
    <td>role\_</td>
    <td>Name of the role in which membership will be revoked. Must be an existing role. </td>
  </tr>

  <tr>
    <td>\[in]</td>
    <td>member\_</td>
    <td>Name of the user or role that will be revoked membership in role\_. Must be an existing user or role. </td>
  </tr>

  <tr>
    <td>\[in]</td>
    <td>options\_</td>
    <td>Optional parameters. The default value is an empty map. </td>
  </tr>
</table>

Definition at line [40](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h#L40) of file [revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h).

## Member Data Documentation

## [◆ ](#afdeedc3f5526f8dfd0b2acbb32e34b8d)member

<table>
  <tr>
    <td>std::string gpudb::RevokeRoleRequest::member</td>
  </tr>
</table>

Name of the user or role that will be revoked membership in [role](#a2fd29fa824e9396c29ea97b80f8379ef). Must be an existing user or role. Definition at line [57](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h#L57) of file [revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h).

## [◆ ](#aaf1f869639a92f5da6ca92721a32676c)options

<table>
  <tr>
    <td>std::map\<std::string, std::string> gpudb::RevokeRoleRequest::options</td>
  </tr>
</table>

Optional parameters. The default value is an empty map. Definition at line [62](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h#L62) of file [revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h).

## [◆ ](#a2fd29fa824e9396c29ea97b80f8379ef)role

<table>
  <tr>
    <td>std::string gpudb::RevokeRoleRequest::role</td>
  </tr>
</table>

Name of the role in which membership will be revoked. Must be an existing role. Definition at line [51](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h#L51) of file [revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h).

***

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

<ul>
  <li>gpudb/protocol/[revoke\_role.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/revoke_role.h)</li>
</ul>


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