Global:Extranet.Company
Version: - globalvalueSummary
Returns the company of the extranet 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
@GetGlobalValue("Global:Extranet.Company")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.Company"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetGlobalValue("Global:Extranet.Company");
}
Outputting the template tag
<!--@Global:Extranet.Company-->
Check if globalvalue has a value
<!--@If Defined(@Global:Extranet.Company)-->
Let's output this tag here: <strong><!--@Global:Extranet.Company--></strong>
<!--@EndIf(@Global:Extranet.Company)-->