Global:Extranet.LastName
Version: - globalvalueSummary
Returns the last name of the extranet user.
Settings
The value is based on the Last name input field for a user.
(User Management > User > User tab > Personal panel > Last name)
Examples
Outputting the template tag
@GetGlobalValue("Global:Extranet.LastName")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.LastName"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetGlobalValue("Global:Extranet.LastName");
}
Outputting the template tag
<!--@Global:Extranet.LastName-->
Check if globalvalue has a value
<!--@If Defined(@Global:Extranet.LastName)-->
Let's output this tag here: <strong><!--@Global:Extranet.LastName--></strong>
<!--@EndIf(@Global:Extranet.LastName)-->