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