UserManagement:Group.ValidTo
Version: - dateSummary
Returns the end date of the validity of a group.
Settings
The value is based on the Valid
to dropdowns in the Validity
section for a group.
(User Management > Group > Options tab > Validity section > Valid to)
Examples
Outputting the template tag
@GetDate("UserManagement:Group.ValidTo")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("UserManagement:Group.ValidTo"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("UserManagement:Group.ValidTo");
}
Outputting the template tag
<!--@UserManagement:Group.ValidTo-->
Check if date has a value
<!--@If Defined(@UserManagement:Group.ValidTo)-->
Let's output this tag here: <strong><!--@UserManagement:Group.ValidTo--></strong>
<!--@EndIf(@UserManagement:Group.ValidTo)-->