UserManagement:User.UserAddress.Default.Value
Version: - booleanSummary
Returns True if the Default field is selected.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("UserManagement:User.UserAddress.Default.Value")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("UserManagement:User.UserAddress.Default.Value"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("UserManagement:User.UserAddress.Default.Value");
}
Outputting the template tag
<!--@UserManagement:User.UserAddress.Default.Value-->
Check if boolean has a value
<!--@If Defined(@UserManagement:User.UserAddress.Default.Value)-->
Let's output this tag here: <strong><!--@UserManagement:User.UserAddress.Default.Value--></strong>
<!--@EndIf(@UserManagement:User.UserAddress.Default.Value)-->