Function GetDomainName : String;
Get the domain name of the machine on which the process is running. An empty string is returned if the domain is not set.
None.
GetHostName,seemGetdomainname2