getImpersonatedName: Difference between revisions
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>") |
||
Line 8: | Line 8: | ||
getImpersonatedName() | getImpersonatedName() | ||
getImpersonatedName(global) | getImpersonatedName(global) | ||
</ | </syntaxhighlight> | ||
'''Parameter''' | '''Parameter''' |
Revision as of 18:19, 14 March 2023
getImpersonatedName() Function
• Introduced in version 1.3b48
Returns the name of the impersonated token.
Usage
<source lang="mtmacro" line> getImpersonatedName() getImpersonatedName(global) </syntaxhighlight>
Parameter
global
- If set tofalse
(0
), returns the name of the token impersonated in the current macro context. If set totrue
(1
), returns the name of the token impersonated globally through the UI. Defaults tofalse
(0
) (macro context).
Version Changes
- 1.3b51 - No longer a trusted function.
- 1.7.0 - Added parameter "global".