Returns the current user object.
[ obUser = ] Object.CurrentUser
The CurrentUser property syntax has the following parts:
Name |
Type |
Description |
Object |
AUsers |
AUsers object |
obUser |
AUser object |
The current users can be set by the following methods: ATEasy Login Dialog, ShowLoginDialog, Login or the ATEasy Command Line. It is set to Nothing if no user was logged in.
The following statement prints the current user's name:
print users.CurrentUser.Name