UserManagement:Group.City
Version: - stringSummary
Returns the city of the user group.
Settings
The value is based on the city field for the user group.
(User Management > Group> Group tab > Information panel > City)
Examples
Outputting the template tag
@GetString("UserManagement:Group.City")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:Group.City"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:Group.City");
}
Outputting the template tag
<!--@UserManagement:Group.City-->
Check if string has a value
<!--@If Defined(@UserManagement:Group.City)-->
Let's output this tag here: <strong><!--@UserManagement:Group.City--></strong>
<!--@EndIf(@UserManagement:Group.City)-->