Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsIsProcessElevatedMBS as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method System MBS Win Plugin 10.4 No Yes No Yes, Windows only No
Function: The function gets the elevation information of the current process.
msgbox str(WindowsIsProcessElevatedMBS)
It dictates whether the process is elevated or not. Token elevation is only available on Windows Vista and newer operating systems, thus IsProcessElevated returns always false if it is called on systems prior to Windows Vista. It is not appropriate to use this function to determine whether a process is run as administartor.

Returns true if the process is elevated. Returns false if it is not.

Some examples using this method:

Blog Entries

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.

MBS Xojo PDF Plugins