getAccount

Get account XML.

The returned account XML is read-only and points directly to the internal structures. Calling saveAccount or deleteAccount may invalidate this reference so you should not call them while using the returned XML. To make the returned XML persistent or to make changes, clone it.

Return

The account XML.

Parameters

index

Account index; 0 ≤ index <getAccountCount; 0if feature Multiple Accounts is not provided.


Get account XML.

The returned account XML is read-only and points directly to the internal structures. Calling saveAccount or deleteAccount may invalidate this reference so you should not call them while using the returned XML. To make the returned XML persistent or to make changes, clone it.

Return

The account XML or null if no such account.

Parameters

accountId

ID of the account to find the XML for; null if feature Multiple Accounts is not provided.