Show TOC

managePasscode( onsuccess, onerror ) methodLocate this document in the navigation structure

This method will launch the UI screen for application users to manage and update the data vault passcode or, if the SMP server's Client Passcode Policy allows it, enable or disable the passcode to the data vault.

Syntax

<static> managePasscode( onsuccess, onerror )

Parameters
Name Type Description
<onsuccess> sap.Logon~successCallbackNoParameters The function to invoke upon success.
<onerror> sap.Logon~errorCallback The function to invoke in case of error.
Example
var errorCallback = function(errorInfo){
    alert("Error: " + JSON.stringify(errorInfo));
}
var successCallback = function(context){
    alert("Passcode successfully managed.");
}
sap.Logon.managePasscode(successCallback,errorCallback);