getImpersonated

From RPTools Wiki
Revision as of 22:16, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page getImpersonated to GetImpersonated without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

getImpersonated() Function

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

Usage

getImpersonated()
getImpersonated(global)

Parameter

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


See Also

Version Changes

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