UserManagement:User.Item.Field.First

Version: - boolean  

Summary

Returns True if the user item field is the first in the list.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("UserManagement:User.Item.Field.First")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("UserManagement:User.Item.Field.First"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("UserManagement:User.Item.Field.First"); }

Outputting the template tag

<!--@UserManagement:User.Item.Field.First-->

Check if boolean has a value

<!--@If Defined(@UserManagement:User.Item.Field.First)--> Let's output this tag here: <strong><!--@UserManagement:User.Item.Field.First--></strong> <!--@EndIf(@UserManagement:User.Item.Field.First)-->