# getDFSDatabases {#getdfsdatabases}

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

## Syntax {#syntax}

`getDFSDatabases()`

## Arguments {#arguments}

None

## Details {#details}

This function returns a vector that lists DFS databases on the current node.

From version 1.30.21/2.00.9 onwards,

-   For an administrator or a non-admin user granted with DB\_MANAGE privilege, the function returns all DFS databases on the current node;

-   Otherwise, the function returns DFS databases to which the user is granted with the DB\_OWNER privilege.


## Examples {#examples}

```
getDFSDatabases()
```

