getImpersonatedName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page GetImpersonatedName to getImpersonatedName: Converting page titles to lowercase)
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
getImpersonatedName()
getImpersonatedName()
getImpersonatedName(global)
getImpersonatedName(global)
</source>
</syntaxhighlight>


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

Latest revision as of 18:41, 14 March 2023

getImpersonatedName() Function

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

Usage

getImpersonatedName()
getImpersonatedName(global)

Parameter

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


Version Changes

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