---
title: "userAccounts(options:)"
framework: videosubscriberaccount
role: symbol
role_heading: Instance Method
path: "videosubscriberaccount/vsuseraccountmanager/useraccounts(options:)"
---

# userAccounts(options:)

Returns a list of registered user accounts for your app.

## Declaration

```swift
func userAccounts(options: VSUserAccountManager.QueryOptions = []) async throws -> [VSUserAccount]
```

## Parameters

- `options`: An array of options you specify to customize the user account query.

## Return Value

Return Value A list of registered user accounts for your app.

## Discussion

Discussion By default, this fetches and returns the list of registered user accounts on the current device. Provide the query option allDevices to fetch the list of registered user accounts on all the devices the person has in their iCloud account.

## See Also

### Getting user accounts

- [VSUserAccountManager.QueryOptions](videosubscriberaccount/vsuseraccountmanager/queryoptions.md)
