IsLimited

Description:

baIsLimited checks if the program is being run as a Limited user under Vista.

Platforms:

Windows

Usage:

Result = baIsLimited( )

Arguments:

None.

Returns:

Integer.
Returns 1 if program is a Limited user, else 0.

Examples:

Director:
limited = baIsLimited( )

Authorware:
limited := baIsLimited( )
 

Notes:

This function only works on Vista, if used under earlier Windows it will always return 0.

Vista has a new User Account Control feature which provides security for Limited users.

baIsLimited checks if the program is being run as a Limited user. If UAC is disabled, then this function will return false. If your program is run as a standard user with UAC enabled, then it will return true. If your program is run as an Administrator and UAC is enabled, the user will be presented with a 'Allow this program to run' dialog. If the user allows the program to run, then this function will return false.
 

See also:

baIsVirtualized