---
title: "init(item:account:)"
framework: authenticationservices
role: symbol
role_heading: Initializer
path: "authenticationservices/asimportablelinkeditem/init(item:account:)"
---

# init(item:account:)

Creates a linked item from the identifiers of an item and an account.

## Declaration

```swift
init(item: Data, account: Data? = nil)
```

## Parameters

- `item`: The doc://com.apple.authenticationservices/documentation/AuthenticationServices/ASImportableItem/id of the item linked by this LinkedItem.
- `account`: The doc://com.apple.authenticationservices/documentation/AuthenticationServices/ASImportableAccount/id of the Account to which this LinkedItem belongs, if any. Defaults to nil.
