How can my RDML programs access the user profile that the user signed on as and the user profile shown in the status bar

Visual LANSA Framework

How can my RDML programs access the user profile that the user signed on as, and the user profile shown in the status bar?
Windows:

Change #MYUSERFIELD *USER

 

Web:

Change #MYUSERFIELD to *USER

or

Change #MYUSERFIELD to *WebUser

or

USE builtin(VF_GET) with_args( LOGGEDONUSER) to_get(#MYUSERFIELD)

 

WAM:

Change #MYUSERFIELD  #thishandler.avLoggedonUser