UserManagement:User.Currency

Version: - string  

Summary

Returns the currency of the user.

Settings

The value is based on the currency selected in the Currency dropdown for a user.

(User Management > User > User tab > Personal panel > Currency)

Examples

Outputting the template tag

@GetString("UserManagement:User.Currency")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement:User.Currency"); }

Outputting the template tag

<!--@UserManagement:User.Currency-->

Check if string has a value

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