getImpersonated: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getImpersonated() | getImpersonated() | ||
getImpersonated(global) | |||
</source> | </source> | ||
'''Parameter''' | |||
{{param|global|Whether to return the id of the token impersonated in the current macro context, or the id of the token impersonated through the UI. Defaults to 0 (macro context).}} | |||
|changes= | |changes= | ||
{{change|1.3b51|No longer a trusted function.}} | {{change|1.3b51|No longer a trusted function.}} | ||
{{change|1.7.0|Added parameter "global".}} | |||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] | ||
[[Category:Impersonation Function]] | [[Category:Impersonation Function]] |
Revision as of 12:30, 18 May 2020
getImpersonated() Function
• Introduced in version 1.3b48
Returns the id of the impersonated token.
Usage
getImpersonated()
getImpersonated(global)
Parameter
global
- Whether to return the id of the token impersonated in the current macro context, or the id of the token impersonated through the UI. Defaults to 0 (macro context).
Version Changes
- 1.3b51 - No longer a trusted function.
- 1.7.0 - Added parameter "global".