DW_extranet_AccessUserID

Version: -  

Summary

Returns the ID of the current Extranet user.

Settings

The value is generated automatically.

Remarks

This requires that the user is logged on through the Extranet module.

Examples

Outputting the template tag

@GetObject("DW_extranet_AccessUserID")

Check if tag has a value

@if(!var.IsNullOrWhiteSpace(GetObject("DW_extranet_AccessUserID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ var storedTag = GetObject("DW_extranet_AccessUserID"); }

Outputting the template tag

<!--@DW_extranet_AccessUserID-->

Check if object has a value

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