CurrentUser Property (AUsers)

Returns the current user object.

Syntax

[ obUser = ] Object.CurrentUser

The CurrentUser property syntax has the following parts:

 

Name

Type

Description

Object

AUsers

AUsers object

obUser

AUser

AUser object

Comments

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.

Example

The following statement prints the current user's name:

print users.CurrentUser.Name

Applies to

AUsers

See Also

AddUser, RemoveUser, UsersCount, Users Variable