UserManagement:User.Item.[FieldSystemName]

Version: - string  

Summary

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.[FieldSystemName]")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.Item.[FieldSystemName]"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement:User.Item.[FieldSystemName]"); }

Outputting the template tag

<!--@UserManagement:User.Item.[FieldSystemName]-->

Check if string has a value

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