OpenWGA 7.10 - 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".

This property returns the same value as "loginName" except that for non logged in users it returns "anonymous" instead of NULL.

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