Skip to main content

◆ deleteRole() [1/4]

DeleteRoleResponse gpudb::GPUdb::deleteRole (const DeleteRoleRequest &request_) const

Deletes an existing role.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ deleteRole() [2/4]

DeleteRoleResponse & gpudb::GPUdb::deleteRole (const DeleteRoleRequest &request_,
DeleteRoleResponse &response_ ) const

Deletes an existing role.

Attention
This method should be used for on-premise deployments only.
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).

◆ deleteRole() [3/4]

DeleteRoleResponse gpudb::GPUdb::deleteRole (const std::string &name,
const std::map< std::string, std::string > &options ) const

Deletes an existing role.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]nameName of the role to be deleted. Must be an existing role.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ deleteRole() [4/4]

DeleteRoleResponse & gpudb::GPUdb::deleteRole (const std::string &name,
const std::map< std::string, std::string > &options,
DeleteRoleResponse &response_ ) const

Deletes an existing role.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]nameName of the role to be deleted. Must be an existing 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).