Global:Extranet.ExternalLogin.ExternalUserName

globalvalue  

Summary

Returns external user name of the extranet external login.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetGlobalValue("Global:Extranet.ExternalLogin.ExternalUserName")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetGlobalValue("Global:Extranet.ExternalLogin.ExternalUserName"); }

Outputting the template tag

<!--@Global:Extranet.ExternalLogin.ExternalUserName-->

Check if globalvalue has a value

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