DwPageManagerUsername
Version: - stringSummary
Returns the username of the page manager of the current page.
Settings
The value is based on the User name input field in the User details section for the user.
(Users > Group/User > User tab > User details panel > User name)
Examples
Outputting the template tag
@GetString("DwPageManagerUsername")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DwPageManagerUsername"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DwPageManagerUsername");
}
Outputting the template tag
<!--@DwPageManagerUsername-->
Check if string has a value
<!--@If Defined(@DwPageManagerUsername)-->
Let's output this tag here: <strong><!--@DwPageManagerUsername--></strong>
<!--@EndIf(@DwPageManagerUsername)-->