hasImpersonated: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Macros:Functions:hasImpersonated moved to hasImpersonated: Moved out of Macros namespace)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Function hasImpersonated==
{{MacroFunction
 
|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 16:00, 15 March 2023

hasImpersonated() Function

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

Usage

hasImpersonated()