collections
TypeScriptget collections(): Array<ASImportableCollection>Swift declarationvar collections: [ASImportableCollection]The collections stored in this account.
struct · iOS 26.0+ · SDK 27.1
struct ASImportableAccountA representation of Account as defined in the [Credential Exchange Format (CXF) specs](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) You can supply a JSON representation of a CXF Account to initialize an instance of this struct. If you choose to do so, you will need to set the icon after creating the object. Account represents the user of the password manager app itself. Multiple accounts can be exported together.
get collections(): Array<ASImportableCollection>Swift declarationvar collections: [ASImportableCollection]The collections stored in this account.
set collections(value: Array<ASImportableCollection>)Swift declarationvar collections: [ASImportableCollection]The collections stored in this account.
get id(): ArrayBufferSwift declarationvar id: DataA unique identifier for the account. Not displayed to the user.
set id(value: ArrayBuffer)Swift declarationvar id: DataA unique identifier for the account. Not displayed to the user.
static init(id: ArrayBuffer, userName: string, email: string, fullName: (string) | null, collections: Array<ASImportableCollection>, items: Array<ASImportableItem>): ASImportableAccountSwift declarationinit(id: Data, userName: String, email: String, fullName: String? = nil, collections: [ASImportableCollection], items: [ASImportableItem])get email(): stringSwift declarationvar email: StringThe email address associated with this account.
set email(value: string)Swift declarationvar email: StringThe email address associated with this account.
get items(): Array<ASImportableItem>Swift declarationvar items: [ASImportableItem]All items stored in this account.
set items(value: Array<ASImportableItem>)Swift declarationvar items: [ASImportableItem]All items stored in this account.
get fullName(): (string) | nullSwift declarationvar fullName: String?Optional: The full name of the account owner.
set fullName(value: (string) | null)Swift declarationvar fullName: String?Optional: The full name of the account owner.
get userName(): stringSwift declarationvar userName: StringThe user name associated with this account. When instantiating from JSON, this property will be populated from the "username" field.
set userName(value: string)Swift declarationvar userName: StringThe user name associated with this account. When instantiating from JSON, this property will be populated from the "username" field.
No declarations were skipped in this snapshot.