getAllowsURIAccess: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=getAllowsURIAccess |version=1.10.0 |trusted=true |description= Checks to see if a Lib:Token allows URI access or not. |usage= <source lang="mtmacro"...")
 
No edit summary
Line 17: Line 17:




If the libToken is not specified it defaults to the current token. Calling this with a non Lib:Token specified will allways result in it returning false.
If the libToken is not specified it defaults to the current token. Calling this with a non Lib:Token specified will always result in it returning false.





Revision as of 12:53, 19 September 2021

getAllowsURIAccess() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.10.0
Checks to see if a Lib:Token allows URI access or not.

Usage

getAllowsURIAccess()
getAllowsURIAccess(libToken)

Parameters

  • libToken - The name of the Lib:Token to check.


If the libToken is not specified it defaults to the current token. Calling this with a non Lib:Token specified will always result in it returning false.


See Also