UserManagement:Group.ValidFrom

Version: -  

Summary

Returns the start date of the validity of a group.

Settings

The value is based on the Valid from dropdowns in the Validity section for a group.

(User Management > Group > Options tab > Validity section > Valid from)

Examples

Outputting the template tag

@GetObject("UserManagement:Group.ValidFrom")

Check if tag has a value

@if(!var.IsNullOrWhiteSpace(GetObject("UserManagement:Group.ValidFrom"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ var storedTag = GetObject("UserManagement:Group.ValidFrom"); }

Outputting the template tag

<!--@UserManagement:Group.ValidFrom-->

Check if object has a value

<!--@If Defined(@UserManagement:Group.ValidFrom)--> Let's output this tag here: <strong><!--@UserManagement:Group.ValidFrom--></strong> <!--@EndIf(@UserManagement:Group.ValidFrom)-->