Global:Page.Manager.Email

Version: - globalvalue  

Summary

Returns the E-mail of the page manager of the current page.

Settings

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

(Users tab > Group/User > User tab > Personal > E-mail)

Examples

Outputting the template tag

@GetGlobalValue("Global:Page.Manager.Email")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Page.Manager.Email"))) {
@* Tag has value, so let's do something useful here. *@
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Assign tag to a value for later use

@{
string storedTag = GetGlobalValue("Global:Page.Manager.Email");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@Global:Page.Manager.Email-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if globalvalue has a value

<!--@If Defined(@Global:Page.Manager.Email)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX