Global:Extranet.UserID
Version: - globalvalueSummary
Returns the UserID of the extranet/intranet user.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetGlobalValue("Global:Extranet.UserID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetGlobalValue("Global:Extranet.UserID");
}
Outputting the template tag
<!--@Global:Extranet.UserID-->
Check if globalvalue has a value
<!--@If Defined(@Global:Extranet.UserID)-->
Let's output this tag here: <strong><!--@Global:Extranet.UserID--></strong>
<!--@EndIf(@Global:Extranet.UserID)-->