Skip to main content

◆ revokeRole() [1/4]

RevokeRoleResponse gpudb::GPUdb::revokeRole (const RevokeRoleRequest &request_) const

Revokes membership in a role from a user or role.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ revokeRole() [2/4]

RevokeRoleResponse & gpudb::GPUdb::revokeRole (const RevokeRoleRequest &request_,
RevokeRoleResponse &response_ ) const

Revokes membership in a role from a user or role.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ revokeRole() [3/4]

RevokeRoleResponse gpudb::GPUdb::revokeRole (const std::string &role,
const std::string &member,
const std::map< std::string, std::string > &options ) const

Revokes membership in a role from a user or role.

Parameters
[in]roleName of the role in which membership will be revoked. Must be an existing role.
[in]memberName of the user or role that will be revoked membership in role. Must be an existing user or role.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ revokeRole() [4/4]

RevokeRoleResponse & gpudb::GPUdb::revokeRole (const std::string &role,
const std::string &member,
const std::map< std::string, std::string > &options,
RevokeRoleResponse &response_ ) const

Revokes membership in a role from a user or role.

Parameters
[in]roleName of the role in which membership will be revoked. Must be an existing role.
[in]memberName of the user or role that will be revoked membership in role. Must be an existing user or role.
[in]optionsOptional parameters. The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).