OpenWGA 7.2 - TMLScript reference

Auth
Property :

sessionUser

On object Auth
Usage Returns the user name by which the current user is logged in to the current domain
Description

This is the user name as it came from the authentication process, for example via a manual login on some login page. This is not necessarily the qualified name.

In case of an anonymous user this is "anonymous".

Return value User name (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events