---
title: INSearchForAccountsIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/insearchforaccountsintentresponse
---

# INSearchForAccountsIntentResponse

Your app’s response to a request to search for account information.

## Declaration

```swift
class INSearchForAccountsIntentResponse
```

## Overview

Overview Use an INSearchForAccountsIntentResponse object to return the account information found during a search operation. After performing a search using the criteria specified in an INSearchForAccountsIntent object, create an instance of this class and fill it with the results of that search. Siri communicates the information from your response to the user at appropriate times. You create an INSearchForAccountsIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INSearchForAccountsIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/insearchforaccountsintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/insearchforaccountsintentresponse/code.md)
- [INSearchForAccountsIntentResponseCode](intents/insearchforaccountsintentresponsecode.md)

### Providing the Search Results

- [accounts](intents/insearchforaccountsintentresponse/accounts.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Search for Accounts

- [INSearchForAccountsIntentHandling](intents/insearchforaccountsintenthandling.md)
- [INSearchForAccountsIntent](intents/insearchforaccountsintent.md)
