closeAccount


Purpose

Closes the open account.

Note

If the login screen is enabled using the bootstrap.boolean.showLoginScreen setting, calling the the closeAccount method results in returning to the login screen. Otherwise, it closes the Hybrid Container application.

Signature

closeAccount( callback )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callback Passed while sending a reply to the request referring to an account and its public user data. object required

Note

Please refer the addAccount article for detailed information on the callback, its structure and methods.

Related topics

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