Returns the name of the domain associated with the computer.
DomainName is string
DomainName = NetworkDomainName()
Info("Your computer is associated with: " + DomainName)
Syntax
<Result> = NetworkDomainName([<Options>])
<Result>: Character string
Domain name of the computer.
<Options>: Optional Integer constant
Domain type: | |
netDomainDNS (Default value) | Name of DNS domain associated with the computer. |
netDomainNetBIOS | Name of NetBIOS domain associated with the computer. |