◆ grantPermissionTable() [1/4]
| GrantPermissionTableResponse gpudb::GPUdb::grantPermissionTable | ( | const GrantPermissionTableRequest & | request_ | ) | const |
[DEPRECATED–please use grantPermission instead] Grants a table-level permission to a user or role.
Parameters
| [in] | request_ | Request object containing the parameters for the operation. |
Returns
Response object containing the result of the operation.
◆ grantPermissionTable() [2/4]
| GrantPermissionTableResponse & gpudb::GPUdb::grantPermissionTable | ( | const GrantPermissionTableRequest & | request_, |
| GrantPermissionTableResponse & | response_ ) const |
[DEPRECATED–please use grantPermission instead] Grants a table-level permission to a user or role.
Parameters
Returns
Response object containing the result of the operation (initially passed in by reference).
◆ grantPermissionTable() [3/4]
| GrantPermissionTableResponse gpudb::GPUdb::grantPermissionTable | ( | const std::string & | name, |
| const std::string & | permission, | ||
| const std::string & | tableName, | ||
| const std::string & | filterExpression, | ||
| const std::map< std::string, std::string > & | options ) const |
[DEPRECATED–please use grantPermission instead] Grants a table-level permission to a user or role.
Parameters
| [in] | name | Name of the user or role to which the permission will be granted. Must be an existing user or role. |
| [in] | permission | Permission to grant to the user or role. Supported values:
|
| [in] | tableName | Name 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. If a schema, the permission also applies to tables and views in the schema. |
| [in] | filterExpression | Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ”. |
| [in] | options | Optional parameters.
|
Returns
Response object containing the result of the operation.
◆ grantPermissionTable() [4/4]
| GrantPermissionTableResponse & gpudb::GPUdb::grantPermissionTable | ( | const std::string & | name, |
| const std::string & | permission, | ||
| const std::string & | tableName, | ||
| const std::string & | filterExpression, | ||
| const std::map< std::string, std::string > & | options, | ||
| GrantPermissionTableResponse & | response_ ) const |
[DEPRECATED–please use grantPermission instead] Grants a table-level permission to a user or role.
Parameters
| [in] | name | Name of the user or role to which the permission will be granted. Must be an existing user or role. |
| [in] | permission | Permission to grant to the user or role. Supported values:
|
| [in] | tableName | Name 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. If a schema, the permission also applies to tables and views in the schema. |
| [in] | filterExpression | Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ”. |
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).