Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
WindowsGetProcessIntegrityLevelMBS as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | System | MBS Win Plugin | 10.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Integrity level is only available on Windows Vista and newer operating systems, thus GetProcessIntegrityLevel throws a C++ exception if it is called on systems prior to Windows Vista.
Returns the integrity level of the current process. It is usually one of these values:
SECURITY_MANDATORY_UNTRUSTED_RID | = &h0 | Means untrusted level. It is used by processes started by the Anonymous group. Blocks most write access. |
SECURITY_MANDATORY_LOW_RID | = &h1000 | Means low integrity level. It is used by Protected Mode Internet Explorer. Blocks write acess to most objects (such as files and registry keys) on the system. |
SECURITY_MANDATORY_MEDIUM_RID | = &h2000 | Means medium integrity level. It is used by normal applications being launched while UAC is enabled. |
SECURITY_MANDATORY_HIGH_RID | = &h3000 | Means high integrity level. It is used by administrative applications launched through elevation when UAC is enabled, or normal applications if UAC is disabled and the user is an administrator. |
SECURITY_MANDATORY_SYSTEM_RID | = &h4000 | Means system integrity level. It is used by services and other system-level applications (such as Wininit, Winlogon, Smss, etc.) |
The items on this page are in the following plugins: MBS Win Plugin.