Instance Property


The type of service account.


var accountType: ACAccountType! { get set }


This property is required. You specify the account type using the init(accountType:) method. You can use the accounts(with:) method to retrieve all accounts of a particular type.

See Also

Accessing Properties

var accountDescription: String!

A human-readable description of the account.

var credential: ACAccountCredential!

The credential used to authenticate the user of this account.

var identifier: NSString!

A unique identifier for this account.

var username: String!

The username for this account.

var userFullName: String!

The full name associated with the user account.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software