> For the complete documentation index, see [llms.txt](https://docs.cdev.shop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cdev.shop/fivem/banking/server-exports/get-accounts.md).

# Get Accounts

Here are all the exports to getAccounts

### GetAccountsByPlayerSource <a href="#getitemcount" id="getitemcount"></a>

Get All Accounts from the Player Source that was provided

```lua
exports.cdev_banking:GetAccountsByPlayerSource(source)
```

* source: `PlayerId`

Return:

* Accounts: [`Account[]`](/fivem/banking/types-definitions.md#account)

***

### GetAccountsByPlayerIdentifier <a href="#getitemcount" id="getitemcount"></a>

Get All Accounts from the Player Identifier that was provided

```lua
exports.cdev_banking:GetAccountsByPlayerIdentifier(cid)
```

* cid: `CitizenID`

Return:

* Accounts: [`Account[]`](/fivem/banking/types-definitions.md#account)

***

### GetAllAccounts <a href="#getitemcount" id="getitemcount"></a>

Gets All Accounts

```
exports.cdev_banking:GetAllAccounts()
```

Return:

* Accounts: [`Account[]`](/fivem/banking/types-definitions.md#account)
