Company

Version: - string  

Summary

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("Company")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Company"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Company"); }

Outputting the template tag

<!--@Company-->

Check if string has a value

<!--@If Defined(@Company)--> Let's output this tag here: <strong><!--@Company--></strong> <!--@EndIf(@Company)-->