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.
<static> managePasscode( onsuccess, onerror )
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. |
var errorCallback = function(errorInfo){ alert("Error: " + JSON.stringify(errorInfo)); } var successCallback = function(context){ alert("Passcode successfully managed."); } sap.Logon.managePasscode(successCallback,errorCallback);