DW_extranet_AccessUserEmail
Version: -Summary
Returns the e-mail address of the current Extranet user.
Settings
The value is taken from the E-mail field in the user's Extranet settings.
(Users > User > User tab > User details panel)
Remarks
This requires that the user is logged on through the extranet module.
Examples
Outputting the template tag
@GetObject("DW_extranet_AccessUserEmail")
Check if tag has a value
@if(!var.IsNullOrWhiteSpace(GetObject("DW_extranet_AccessUserEmail"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
var storedTag = GetObject("DW_extranet_AccessUserEmail");
}
Outputting the template tag
<!--@DW_extranet_AccessUserEmail-->
Check if object has a value
<!--@If Defined(@DW_extranet_AccessUserEmail)-->
Let's output this tag here: <strong><!--@DW_extranet_AccessUserEmail--></strong>
<!--@EndIf(@DW_extranet_AccessUserEmail)-->