SystemInfo.UserName
-------------------

Returns the user name.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SystemInfo](component_SystemInfo.md) | [1.5](newinversion15.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "SystemInfo.UserName" ) ### Parameters

none

### Result

Returns text with user name.

### Description

Returns the user name.   
This is not effected by the FileMaker Preferences' "other" setting. This is the actual user name.  
  
For FileMaker Server the name is the name of the account the server operates in. This could be always "System" or "fmserver".  
### Examples

Shows user name:

 Show Custom Dialog \[MBS ( "SystemInfo.UserName" ) &amp; ¶ &amp; MBS ( "[SystemInfo.UserShortName](SystemInfoUserShortName.md)" )\]  
### See also

- [SystemInfo.HostName](SystemInfoHostName.md)
- [SystemInfo.isMojave](SystemInfoisMojave.md)
- [SystemInfo.OSName](SystemInfoOSName.md)
- [SystemInfo.UserShortName](SystemInfoUserShortName.md)

### Release notes

- **Version 8.5**
    - Fixed [SystemInfo.UserName](http://www.mbsplugins.eu/SystemInfoUserName.shtml) for Windows.
- **Version 8.0**
    - Fixed [SystemInfo.UserName](http://www.mbsplugins.eu/SystemInfoUserName.shtml) for Linux. Returns usually fmserver.

### Example Databases

- [WebHook/WebHook Chat/WebHook Chat](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebHook/WebHook%20Chat/WebHook%20Chat.shtml#1ScriptAnchor_)

### Blog Entries

- [Network share access from script on FileMaker Server](https://www.mbsplugins.de/archive/2019-11-08/Network_share_access_from_scri/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.6pr2](https://www.mbsplugins.de/archive/2017-12-11/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2023, Seite 18](https://filemaker-magazin.de/neuigkeit/4223-Appetithappen-FMM_202302)
- [Ausgabe 6/2019, Seite 33](https://filemaker-magazin.de/neuigkeit/4064-Appetithappen-FMM_201906)

This function is free to use.

Created 18th August 2014 , last changed 17th January 2024

  
[SystemInfo.Time](SystemInfoTime.md) - [SystemInfo.UserShortName](SystemInfoUserShortName.md)

[HTML Version](SystemInfoUserName.shtml)