Current users AUsers object.
AUsers Public Const
The Users variable is used to access to the list of users that are currently defined in the ATEasy system using the Users property. You can also use the Users variable to get information about the current user using the CurrentUser property.
In order to change any of the Users variable properties, the current user must have ATEasy administrator privileges. Setting the current user can be done using the Login or ShowLoginDialog methods or from the ATEasy environment Login dialog or from the ATEasy command line. In addition, the UseLoginDialog must be set to TRUE in order to activate the ATEasy users support.
The Users variable can be used to identify users and to provide them different privileges when they use the ATEasy environment or standalone applications. The user information can be used also for test logging results and for ATEasy file versions support.
The following example provides a way for the current user to change its password:
Procedure mnuChangePassword.OnClick()
{
Users.ShowChangePasswordDialog(Form.hWnd)
}
ADriver.VersionInfo, AProgram.VersionInfo, ASystem.VersionInfo, AUser, AUsers, CurrentUser