Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SystemInfo.HostName

Returns the hostname for this computer.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 2.8 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SystemInfo.HostName" )

Parameters

none

Result

Returns name or error.

Description

Returns the hostname for this computer.
See also SystemInfo.HostDNSName and SystemInfo.DomainName.

With FileMaker Cloud (Linux) the result may be just the IP if no hostname is configured, e.g. "ip-172-31-21-142"

Examples

Shows host name:

Show Custom Dialog [ MBS("SystemInfo.HostName") ]

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 28th January 2023


SystemInfo.HostDNSName - SystemInfo.IdleTime