DWUsers:User:Email

Version: - string  

Summary

Returns E-mail address of an user.

Settings

The value is based on the E-mail input field in the User details section for the user.

Examples

Outputting the template tag

@GetString("DWUsers:User:Email")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("DWUsers:User:Email"); }

Outputting the template tag

<!--@DWUsers:User:Email-->

Check if string has a value

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