---
title: ASImportableAccount
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asimportableaccount
---

# ASImportableAccount

An account for use in importing and exporting credentials.

## Declaration

```swift
struct ASImportableAccount
```

## Overview

Overview This type is a representation of Account as defined in the Credential Exchange Format (CXF) specification. You can supply a JSON representation of a CXF Account to initialize an instance of this struct by using a JSONDecoder and calling decode(_:from:). When using a JSONDecoder, set the dateDecodingStrategy property of the decoder to JSONDecoder.DateDecodingStrategy.secondsSince1970. The account represents the user of the password manager app itself. You can export multiple accounts together by including them in an ASExportedCredentialData instance.

## Topics

### Creating an account

- [init(id:userName:email:fullName:collections:items:)](authenticationservices/asimportableaccount/init(id:username:email:fullname:collections:items:).md)

### Accessing account properties

- [id](authenticationservices/asimportableaccount/id.md)
- [userName](authenticationservices/asimportableaccount/username.md)
- [email](authenticationservices/asimportableaccount/email.md)
- [fullName](authenticationservices/asimportableaccount/fullname.md)
- [collections](authenticationservices/asimportableaccount/collections.md)
- [ASImportableCollection](authenticationservices/asimportablecollection.md)
- [items](authenticationservices/asimportableaccount/items.md)
- [ASImportableItem](authenticationservices/asimportableitem.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing accounts

- [accounts](authenticationservices/asexportedcredentialdata/accounts.md)
