Administrator

Description:

baAdministrator checks whether the current user has Administrator rights.

Platforms:

Windows

Usage:

Result = baAdministrator( )

Arguments:

None.

Returns:

Integer.
Returns 1 if the user has Administrator rights, otherwise 0.

Examples:

Director:
OK = baAdministrator( )

Authorware:
OK := baAdministrator( )
 

Notes:

This function does not work on 95, 98 or ME and it will always return 0.