JobTitle

Version: - string  

Summary

Returns the job title of the user.

Settings

The value is based on the Job title input field for a user.

(User Management > User > User tab > Work panel > Job title)

Examples

Outputting the template tag

@GetString("JobTitle")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@JobTitle-->

Check if string has a value

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