Make Me Admin is a simple, open-source application for Windows that allows standard user accounts to be elevated to administrator-level, on a temporary basis.
The SMS_SystemConsoleUsage WMI class provides the name of the top console user (TopConsoleUser property). Create an option to read this value, and allow that user to obtain admin rights.
The SMS_SystemConsoleUsage WMI class provides the name of the top console user (TopConsoleUser property). Create an option to read this value, and allow that user to obtain admin rights.