<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoSubscriberAccount",
  "identifier" : "/documentation/VideoSubscriberAccount/VSAccountManager/enqueue(_:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Video Subscriber Account"
    ],
    "preciseIdentifier" : "c:objc(cs)VSAccountManager(im)enqueueAccountMetadataRequest:completionHandler:"
  },
  "title" : "enqueue(_:completionHandler:)"
}
-->

# enqueue(_:completionHandler:)

Submits a request for subscriber account information.

```
func enqueue(_ request: VSAccountMetadataRequest, completionHandler: @escaping (VSAccountMetadata?, (any Error)?) -> Void) -> VSAccountManagerResult
```

## Parameters

`request`

A [`VSAccountMetadataRequest`](/documentation/VideoSubscriberAccount/VSAccountMetadataRequest) object that contains the information that your app requests.

`completionHandler`

The closure that the account manager executes after the request completes. This closure has no return value and takes the following parameters:

- metadata: A [`VSAccountMetadata`](/documentation/VideoSubscriberAccount/VSAccountMetadata) object that contains the requested information if the request was successful.
- error: An error object that contains information about a problem, or `nil` if the operation completed successfully.

## Return Value

Returns a [`VSAccountManagerResult`](/documentation/VideoSubscriberAccount/VSAccountManagerResult) object that your app can use with [`cancel()`](/documentation/VideoSubscriberAccount/VSAccountManagerResult/cancel()) to cancel the request.

---

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)