Instance Property

username

The username for this account.

Declaration

var username: String! { get set }

Discussion

This property must be set before the account is saved. After the account is saved, this property is available if the user grants the application access to this account; otherwise it is nil.

See Also

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 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