---
title: credential
framework: accounts
role: symbol
role_heading: Instance Property
path: accounts/acaccount/credential
---

# credential

The credential used to authenticate the user of this account.

## Declaration

```swift
var credential: ACAccountCredential! { get set }
```

## Discussion

Discussion This property is required and must be set before the account is saved. For privacy reasons, this property is inaccessible after the account is saved.

## See Also

### Accessing Properties

- [accountDescription](accounts/acaccount/accountdescription.md)
- [accountType](accounts/acaccount/accounttype.md)
- [identifier](accounts/acaccount/identifier.md)
- [username](accounts/acaccount/username.md)
- [userFullName](accounts/acaccount/userfullname.md)
