Previous Topic: Fetching AccountsNext Topic: Deleting Accounts


API Details

The following table lists the input and output parameters of the getAccount() method:

Parameter

Description

Input Parameters

id

The unique identifier of the account that has to be fetched.

Output Parameters

account

The account of the user.

The following table lists the input and output parameters of the getAllAccounts() method:

Parameter

Description

Input Parameters

None.

Output Parameters

account

An array of all the accounts present in the storage.

The following table lists the input and output parameters of the getAllAccounts() method, which takes namespace as the input:

Parameter

Description

Input Parameters

ns

The namespace of the ArcotID PKI.

Output Parameters

account

Array of accounts belonging to a specified namespace (domain) and also accounts from other namespaces that contain the search string in their name.

Exception

The AIDException class is returned if there any errors while reading the account from the storage location. See "ArcotID PKI SDK Exceptions and Error Codes" for more information on the exception class and errors returned by ArcotID PKI SDK.