# getClusterDFSTables {#getclusterdfstables}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getClusterDFSTables()`

## Arguments {#arguments}

None

## Details {#details}

The function returns a vector that lists DFS tables in the cluster.

From version 1.30.212.00.9 onwards,

-   For an administrator, it returns all DFS tables under the specified database in the cluster.
-   When executed by a non-admin user, it will return:
    -   All DFS tables in databases where the user has any of the following permissions:DB\_OWNER, DB\_MANAGE, DB\_READ, DB\_WRITE, DB\_INSERT, DB\_UPDATE, DB\_DELETE.
    -   DFS tables where the user has any of the following permissions: TABLE\_READ, TABLE\_INSERT, TABLE\_WRITE, TABLE\_UPDATE, or TABLE\_DELETE.

Starting from version 2.00.10.2, this function returns all DFS tables created by the user regardless of the table permissions.

Starting from version 1.30.23, this function returns all DFS tables created by the user regardless of the table permissions.

## Examples {#examples}

```
getClusterDFSTables()
// output: ["dfs://demohash/pt","dfs://myDataYesDB/tick","dfs://testDB/pt1","dfs://testDB/pt2"]
```

