The information associated with one of the user's accounts.


class ACAccount : NSObject


An ACAccount object encapsulates information about a user account stored in the Accounts database. You can create and retrieve accounts using an ACAccountStore object. The ACAccountStore object provides an interface to the persistent Accounts database. For each user, all account objects belong to a single ACAccountStore object.


Creating an Account Object

init!(accountType: ACAccountType!)

Initializes a new account of the specified type.

Accessing Properties

var accountDescription: String!

A human-readable description of the account.

var accountType: ACAccountType!

The type of service 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.


Inherits From

Conforms To

See Also

Account Management

class ACAccountStore

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

class ACAccountCredential

An ACAccountCredential object encapsulates the information needed to authenticate a user.

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