ColdFusion Access Manager Error when attempting to clear trusted cache
问题 <cfscript> if (isDefined("url.clearTrustedCache")) { clearTrustedCache(); } function clearTrustedCache() { adminObj = createObject("component","cfide.adminapi.administrator"); adminObj.login("admin"); runtimeObj = createObject("component","cfide.adminapi.runtime"); runtimeObj.clearTrustedCache(); } </cfscript> I am trying to use the above code to clear the trusted cache via URL param. I am getting the following error message: The current user is not authorized to invoke this method The only