Initializing help system before first use

getdmpauthfunc

Purpose
In an Insight 5 app, returns a function pointer that can be passed to dmpiniturl to supply authorization headers based on the solution token for the given DMP lifecycle environment.
Synopsis
function getdmpauthfunc:function(dmpresource,array(string) of text):integer
function getdmpauthfunc(env:string):function(dmpresource,array(string) of text):integer
Argument
env 
The environment for which to request the function, or empty string for current env.
Return value
A function pointer that can be passed to dmpiniturl.
Example
declarations
  res: dmpresource
  DMP_MANAGER_URL='https://console.dms.int.usw2.ficoanalyticcloud.com/com.fico.dmp.manager/'
end-declarations
dmpiniturl(res, DMP_MANAGER_URL, getdmpauthfunc(DMP_ENV_DESIGN))
if res.status<>DMP_OK then
  writeln('ERROR: ',res.lasterror)
end-if
Further information
1. This function should only be used in an Insight 5 app running on DMP.
2. When called from outside an Insight 5 app on DMP, the authorization function pointer returned will generate an error in the dmpresource when it is used.

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.