UserManagement:User.[UserCustomFieldSystemName].Name
Version: - stringSummary
Returns the name of the user custom field.
Settings
The value is based on the Name field in the custom fields management.
(Management Center > Modules > User Management > Edit custom fields)
Examples
Outputting the template tag
@GetString("UserManagement:User.[UserCustomFieldSystemName].Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.[UserCustomFieldSystemName].Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.[UserCustomFieldSystemName].Name");
}
Outputting the template tag
<!--@UserManagement:User.[UserCustomFieldSystemName].Name-->
Check if string has a value
<!--@If Defined(@UserManagement:User.[UserCustomFieldSystemName].Name)-->
Let's output this tag here: <strong><!--@UserManagement:User.[UserCustomFieldSystemName].Name--></strong>
<!--@EndIf(@UserManagement:User.[UserCustomFieldSystemName].Name)-->