sap.DataSourceAPI class

SAP DataSources APIs

Version: 1.0

Syntax

new DataSourceAPI()

Methods

Name Description
decryptPassword( [password] ) Decrypt the specified password and return the decrypted password
encryptPassword( [password] ) Encrypt the specified password and return the encrypted password
setDataSourceInfo( [dataSourceName], [user], [password], [url] ) Change the specified datasource’s user name, password, and root URL information
setLogonApplicationContext( [smpLogonApplicationContext] ) Set the application logon context for accesing oData servicesfrom SMP server.
setSMPServerProfile( [SMPServer], [SMPApplicationID], [SMPApplicationTag], [allowAnonymous], [user], [password], [connectionID] ) Change the current SMP Server Profile

Source

common.js, line 31.