UserManagement:User.PointBalance

Version: - double  

Summary

Returns the total amount of loyalty points for the user.

Settings

The value is based on the Current total number in the Loyalty points transaction window.

(Users > user > Loyalty points)

Examples

Outputting the template tag

@GetDouble("UserManagement:User.PointBalance")

Check if tag has a value

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

Assign tag to a value for later use

@{ double storedTag = GetDouble("UserManagement:User.PointBalance"); }

Outputting the template tag

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

Check if double has a value

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