Platforms to show: All Mac Windows Linux Cross-Platform

WindowsIsUserInAdminGroupMBS 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 checks whether the primary access token of the process belongs to user account that is a member of the local Administrators group, even if it currently is not elevated.
Example
msgbox str(WindowsIsUserInAdminGroupMBS)

Returns true if the primary access token of the process belongs to user account that is a member of the local Administrators group. Returns false if the token does 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...