Global:Extranet.ImpersonationMode

Version: - string  

Summary

Returns state of Imersonation mode, based on current value of Mode radio-button in MC>Control Panel>Modules>Usr Management>Impersonation.  

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Global:Extranet.ImpersonationMode")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Global:Extranet.ImpersonationMode"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Global:Extranet.ImpersonationMode"); }

Outputting the template tag

<!--@Global:Extranet.ImpersonationMode-->

Check if string has a value

<!--@If Defined(@Global:Extranet.ImpersonationMode)--> Let's output this tag here: <strong><!--@Global:Extranet.ImpersonationMode--></strong> <!--@EndIf(@Global:Extranet.ImpersonationMode)-->