# getDFSDatabasesByOwner {#getdfsdatabasebyowner}

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

## Syntax {#topic_vsr_qqb_rdc}

`getDFSDatabasesByOwner(user)`

## Arguments {#topic_c51_rqb_rdc}

**user** is a STRING scalar indicating a user name.

## Details {#topic_fks_rqb_rdc}

Return a vector that lists databases created by the specific user. This function can only be executed by administrators.

## Examples {#topic_jb4_sqb_rdc}

``` {#codeblock_kk2_yqb_rdc}
getDFSDatabasesByOwner(user="user1")
// output:["dfs://tsdb1","dfs://tsdb2"]
```

