Platforms to show: All Mac Windows Linux Cross-Platform

WindowsIsProcessElevatedMBS as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method System MBS Win Plugin 10.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The function gets the elevation information of the current process.
Example
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 global method:

Blog Entries

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


The biggest plugin in space...