ProductWorkflowStateChanged:EmailNotification.UserLastName
Version: - stringSummary
Returns last name of notified user.
Settings
Related to Last Name field of the user difined in User Management.
Examples
Outputting the template tag
@GetString("ProductWorkflowStateChanged:EmailNotification.UserLastName")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ProductWorkflowStateChanged:EmailNotification.UserLastName"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ProductWorkflowStateChanged:EmailNotification.UserLastName");
}
Outputting the template tag
<!--@ProductWorkflowStateChanged:EmailNotification.UserLastName-->
Check if string has a value
<!--@If Defined(@ProductWorkflowStateChanged:EmailNotification.UserLastName)-->
Let's output this tag here: <strong><!--@ProductWorkflowStateChanged:EmailNotification.UserLastName--></strong>
<!--@EndIf(@ProductWorkflowStateChanged:EmailNotification.UserLastName)-->