Skip to main content
  • grantPermissionTable

    public GrantPermissionTableResponse grantPermissionTable(GrantPermissionTableRequest request) throws GPUdbException
    [DEPRECATED—please use grantPermission instead] Grants a table-level permission to a user or role.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • grantPermissionTable

    public GrantPermissionTableResponse grantPermissionTable(String name, String permission, String tableName, String filterExpression, Map<String,String> options) throws GPUdbException
    [DEPRECATED—please use grantPermission instead] Grants a table-level permission to a user or role.
    Parameters:
    name - Name of the user or role to which the permission will be granted. Must be an existing user or role.
    permission - Permission to grant to the user or role. Supported values:
    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.
    filterExpression - Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ”.
    options - Optional parameters.
    • COLUMNS: Apply security to these columns, comma-separated. The default value is ”.
    The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.