DWextranet_AccessUserPassword

Version: -  

Summary

Returns the password of the current Extranet user.

Settings

The value is taken from the Password field in the user's 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("DWextranet_AccessUserPassword")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@DWextranet_AccessUserPassword-->

Check if object has a value

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