UserManagement:User.PhoneBusiness

Version: - string  

Summary

Returns the business phone number of the user.

Settings

The value is based on the Phone (business) input field for a user.

(User Management > User > User tab > Work panel > Phone (business))

Examples

Outputting the template tag

@GetString("UserManagement:User.PhoneBusiness")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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