| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Shell.SetUsername
Sets the user name.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Shell | 7.5 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "Shell.SetUsername"; ShellRef; UserName ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| ShellRef | The reference number from the shell. | $shell |
| UserName | The user name. | "cs" |
Result
Returns OK or error.
Description
Sets the user name.Only for Windows to run application with different login.
See also
This function checks for a license.
Created 11st November 2017, last changed 3th October 2025