To fetch the accounts from the default storage, you need to use the AID class. This class provides different options to read accounts as mentioned in the following table:
|
Method |
Description |
|
|---|---|---|
|
getAccount() |
Fetches the accounts based on the account identifier that is passed as an input. |
|
|
getAllAccounts() |
Fetches all the accounts that are present on the mobile. Note: You can also fetch the accounts based on the ArcotID PKI namespace. For this, you have to pass namespace as an input parameter to the getAllAccounts() method. This method fetches all the accounts that belong to a particular namespace and also the accounts that belong to other namespaces, which contain the search string in their name. For example, if you want to fetch the accounts that belong to ARCOT.COM domain, then the API returns the accounts belonging to ARCOT.COM, A.ARCOT.COM, and B.ARCOT.COM. |
|
|
|
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|