Ecom:Order.Customer.SecondaryUserID

Version: - integer  

Summary

Returns the ID of the impersonated user.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:Order.Customer.SecondaryUserID")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:Order.Customer.SecondaryUserID"); }

Outputting the template tag

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

Check if integer has a value

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