getImpersonated: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page GetImpersonated to getImpersonated: Converting page titles to lowercase)
m (Text replacement - "source>" to "syntaxhighlight>")
Line 8: Line 8:
getImpersonated()
getImpersonated()
getImpersonated(global)
getImpersonated(global)
</source>
</syntaxhighlight>


'''Parameter'''
'''Parameter'''

Revision as of 18:35, 14 March 2023

getImpersonated() Function

Introduced in version 1.3b48
Returns the id of the impersonated token.

Usage

<source lang="mtmacro" line> getImpersonated() getImpersonated(global) </syntaxhighlight>

Parameter

  • global - If set to false(0), returns the id of the token impersonated in the current macro context. If set to true(1), returns the token impersonated globally through the UI. Defaults to false(0) (macro context).


See Also

Version Changes

  • 1.3b51 - No longer a trusted function.
  • 1.7.0 - Added parameter "global".