SystemInfo.DomainName
---------------------

Returns the domain name of the current computer.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SystemInfo](component_SystemInfo.md) | [2.8](newinversion28.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

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

none

### Result

Returns error or text.

### Description

Returns the domain name of the current computer.  
Mac supported added in plugin version 4.5.  
The name may not be set for a computer.  
See also [SystemInfo.HostDNSName](SystemInfoHostDNSName.md) and [SystemInfo.HostName](SystemInfoHostName.md).  
### Examples

Shows Domainname:

 Show Custom Dialog \["Info"; MBS ( "SystemInfo.DomainName" )\]  
### See also

- [SystemInfo.ComputerName](SystemInfoComputerName.md)
- [SystemInfo.HostDNSName](SystemInfoHostDNSName.md)
- [SystemInfo.HostName](SystemInfoHostName.md)

This function is free to use.

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

  
[SystemInfo.ComputerName](SystemInfoComputerName.md) - [SystemInfo.DoubleClickTime](SystemInfoDoubleClickTime.md)

[HTML Version](SystemInfoDomainName.shtml)