Skip to main content

◆ revokePermissionTable() [1/4]

RevokePermissionTableResponse gpudb::GPUdb::revokePermissionTable (const RevokePermissionTableRequest &request_) const

[DEPRECATED–please use revokePermission instead] Revokes a table-level permission 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.

◆ revokePermissionTable() [2/4]

RevokePermissionTableResponse & gpudb::GPUdb::revokePermissionTable (const RevokePermissionTableRequest &request_,
RevokePermissionTableResponse &response_ ) const

[DEPRECATED–please use revokePermission instead] Revokes a table-level permission 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).

◆ revokePermissionTable() [3/4]

RevokePermissionTableResponse gpudb::GPUdb::revokePermissionTable (const std::string &name,
const std::string &permission,
const std::string &tableName,
const std::map< std::string, std::string > &options ) const

[DEPRECATED–please use revokePermission instead] Revokes a table-level permission from a user or role.

Parameters
[in]nameName of the user or role from which the permission will be revoked. Must be an existing user or role.
[in]permissionPermission to revoke from the user or role. Supported values:
[in]tableNameName of the table to which the permission grants access, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table, view or schema.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ revokePermissionTable() [4/4]

RevokePermissionTableResponse & gpudb::GPUdb::revokePermissionTable (const std::string &name,
const std::string &permission,
const std::string &tableName,
const std::map< std::string, std::string > &options,
RevokePermissionTableResponse &response_ ) const

[DEPRECATED–please use revokePermission instead] Revokes a table-level permission from a user or role.

Parameters
[in]nameName of the user or role from which the permission will be revoked. Must be an existing user or role.
[in]permissionPermission to revoke from the user or role. Supported values:
[in]tableNameName of the table to which the permission grants access, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table, view or schema.
[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).