GetUserLevel Procedure

Returns the current user level.

Syntax

[ lLevel = ] GetUserLevel ( )

The GetUserLevel procedure syntax has the following parts:

 

Name

Type

Description

lLevel

Long

User level

Comments

The current user level can be 3 (administrator, auserRightAdministrator), 2 (authers, auserRightAuthors), or 1 (all other usually testers).

The current user is determined by ATEasy according to the user name and password entered in the User Login Dialog.

Example

See Also

GetUserName, enumAUserRights, AUsers.CurrentUser, Users Variable