getMetabaseConfig(context: Object, mbCfg: Object);
context. Context, within which you need to execute this method. Currently it is not used.
mbCfg. Object that contains repository configuration parameters. It is identical to JSON object returned by the method.
The getMetabaseConfig method returns repository configuration parameters.
The method returns the object with the following properties: Id - repository identifier, Authentication - authentication mode, ConnectionOdId - repository connection moniker, ExportUrl - data export URL, PPServiceUrl - service URL, UserCreds - object with user credentials, and repository connection event Opened and error generation event on connection Error.
The method use is given in the example for LoginForm.checkPwdPolicy.
See also: