---
title: ACAccountStore
framework: accounts
role: symbol
role_heading: Class
path: accounts/acaccountstore
---

# ACAccountStore

The object you use to request, manage, and store the user’s account information.

## Declaration

```swift
class ACAccountStore
```

## Overview

Overview The ACAccountStore class provides an interface for accessing, managing, and storing accounts. To create and retrieve accounts from the Accounts database, you must create an ACAccountStore object. Each ACAccount object belongs to a single account store object.

## Topics

### Requesting Access

- [requestAccessToAccounts(with:options:completion:)](accounts/acaccountstore/requestaccesstoaccounts(with:options:completion:).md)
- [ACAccountStoreRequestAccessCompletionHandler](accounts/acaccountstorerequestaccesscompletionhandler.md)

### Getting Accounts

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

### Getting Account Types

- [accountType(withAccountTypeIdentifier:)](accounts/acaccountstore/accounttype(withaccounttypeidentifier:).md)

### Saving Accounts

- [saveAccount(_:withCompletionHandler:)](accounts/acaccountstore/saveaccount(_:withcompletionhandler:).md)
- [ACAccountStoreSaveCompletionHandler](accounts/acaccountstoresavecompletionhandler.md)

### Renewing Account Credentials

- [renewCredentials(for:completion:)](accounts/acaccountstore/renewcredentials(for:completion:).md)
- [ACAccountStoreCredentialRenewalHandler](accounts/acaccountstorecredentialrenewalhandler.md)
- [ACAccountCredentialRenewResult](accounts/acaccountcredentialrenewresult.md)

### Removing Accounts

- [removeAccount(_:withCompletionHandler:)](accounts/acaccountstore/removeaccount(_:withcompletionhandler:).md)
- [ACAccountStoreRemoveCompletionHandler](accounts/acaccountstoreremovecompletionhandler.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Account Management

- [ACAccount](accounts/acaccount.md)
- [ACAccountCredential](accounts/acaccountcredential.md)
