OpenWGA 7.9 - TMLScript reference

TMLContext "this"
Property :

profile

On object TMLContext "this"
Usage Returns the users personalisation profile as profile object
Description This returns the user profile for the current user. It may be null depending on personalisation mode and the status of the user.

The property returns the profile that belongs to the application in context of the TMLContext object. On master actions only the profile of the context under which the action code runs is available.

Writable False
Return value A profile object
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions