Ecom:CustomerCenter.DefaultList.AccessUserId
Version: - integerSummary
Returns the ID of the user that created the list that is selected as default.
Settings
The value is generated automatically.
Remarks
This tag can be used for the list marked as default.
Examples
Outputting the template tag
@GetInteger("Ecom:CustomerCenter.DefaultList.AccessUserId")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:CustomerCenter.DefaultList.AccessUserId"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Ecom:CustomerCenter.DefaultList.AccessUserId");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.DefaultList.AccessUserId-->
Check if integer has a value
<!--@If Defined(@Ecom:CustomerCenter.DefaultList.AccessUserId)-->
Let's output this tag here: <strong><!--@Ecom:CustomerCenter.DefaultList.AccessUserId--></strong>
<!--@EndIf(@Ecom:CustomerCenter.DefaultList.AccessUserId)-->