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