<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "macOS: 13.3.0 -",
    "tvOS: 16.4.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoSubscriberAccount",
  "identifier" : "/documentation/VideoSubscriberAccount/VSUserAccountManager/userAccounts(options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Video Subscriber Account",
      "VideoSubscriberAccount"
    ],
    "preciseIdentifier" : "s:So20VSUserAccountManagerC015VideoSubscriberB0E12userAccounts7optionsSayAC0aB0VGSo0aB12QueryOptionsV_tYaKF"
  },
  "title" : "userAccounts(options:)"
}
-->

# userAccounts(options:)

Returns a list of registered user accounts for your app.

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

## Parameters

`options`

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

## Return Value

A list of registered user accounts for your app.

## Discussion

By default, this fetches and returns the list of registered user accounts on the current device. Provide the query option [`allDevices`](/documentation/VideoSubscriberAccount/VSUserAccountManager/QueryOptions/allDevices) to fetch the list of registered user accounts on all the devices the person has in their iCloud account.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)