hasImpersonated: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function hasImpersonated== {{ProposedChange}} Returns 1 if there is an impersonated token otherwise returns 0. ===Usage=== <source lang="mtmacro" line> [h: hasImp = hasImpersonated...)
 
No edit summary
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Function hasImpersonated==
{{MacroFunction
{{ProposedChange}}
|name=hasImpersonated
Returns 1 if there is an [[impersonated token]] otherwise returns 0.
|version=1.3b48
 
|description=
 
Returns 1 if there is an [[Current Token|impersonated token]] otherwise returns 0.
===Usage===
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[h: hasImp = hasImpersonated()]
hasImpersonated()
</source>
</syntaxhighlight>
}}
[[Category:Metamacro Function]]
[[Category:Permission Function]]
[[Category:Impersonation Function]]

Latest revision as of 23:59, 15 March 2023

hasImpersonated() Function

Introduced in version 1.3b48
Returns 1 if there is an impersonated token otherwise returns 0.

Usage

hasImpersonated()