getPrivateAccountData


Purpose

Requests a list of all private (encrypted) data and passes it via the onSuccess callback.

Signature

getPrivateAccountData( callback )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callback Passed while sending a reply to the request for private data stored for the account that is currently open. object required

Callback structure

The PrivateAccountData object's callback can be structured as follows:

{
	onFailure: function(error) { ... },
	onSuccess: function(privateAccountData) { ... }
}

Methods

Name Description Return type
onFailure

Indicates that a request for private account data was not processed.

undefined
onSuccess

Indicates that an account list request was successfully processed.

undefined

Related topics

Public API reference
AccountManager
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...