---
title: "account(withIdentifier:)"
framework: accounts
role: symbol
role_heading: Instance Method
path: "accounts/acaccountstore/account(withidentifier:)"
---

# account(withIdentifier:)

Returns the account with the specified identifier.

## Declaration

```swift
func account(withIdentifier identifier: String!) -> ACAccount!
```

## Parameters

- `identifier`: A unique identifier for an account.

## Return Value

Return Value The account that matches the value specified in identifier.

## See Also

### Getting Accounts

- [accounts](accounts/acaccountstore/accounts.md)
- [accounts(with:)](accounts/acaccountstore/accounts(with:).md)
