Ecom:Order.Customer.SecondaryUserName

Version: - string  

Summary

Returns the name of the impersonated user.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Order.Customer.SecondaryUserName")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order.Customer.SecondaryUserName"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Order.Customer.SecondaryUserName"); }

Outputting the template tag

<!--@Ecom:Order.Customer.SecondaryUserName-->

Check if string has a value

<!--@If Defined(@Ecom:Order.Customer.SecondaryUserName)--> Let's output this tag here: <strong><!--@Ecom:Order.Customer.SecondaryUserName--></strong> <!--@EndIf(@Ecom:Order.Customer.SecondaryUserName)-->