Platforms to show: All Mac Windows Linux Cross-Platform

WindowsRunAsMBS(Username as string, Domain as string, Password as string, LoginFlags as Integer, ApplicationName as string, CommandLine as string, CurrentDirectory as string, byref PID as Integer, Flags as Integer = -1) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Windows MBS Win Plugin 13.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Runs an application with a different user login.

Please see Microsoft website for details:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx

The plugin passes parameters. If Flags is -1, we use CREATE_DEFAULT_ERROR_MODE Or CREATE_NEW_CONSOLE Or CREATE_NEW_PROCESS_GROUP.
The StartupInfo handles are closed and the PID is returned in the PID parameter.
Returns the Windows error code on failure. Else we return zero for success. On Mac and Linux the result is always -1.

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


The biggest plugin in space...