Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SystemInfo.UserName
Returns the user name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SystemInfo | 1.5 | ✅ 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" ) & ¶ & MBS( "SystemInfo.UserShortName" )]
See also
Release notes
- Version 8.5
- Fixed SystemInfo.UserName for Windows.
- Version 8.0
- Fixed SystemInfo.UserName for Linux. Returns usually fmserver.
Example Databases
Blog Entries
- Network share access from script on FileMaker Server
- MBS FileMaker Plugin, version 8.5pr4
- MBS FileMaker Plugin, version 7.6pr2
FileMaker Magazin
This function is free to use.
Created 18th August 2014, last changed 17th January 2024