next up previous contents index
Next: GetEGid Up: Functions and procedures Previous: GetDate

GetDomainName

   

Declaration:

Function GetDomainName : String;

Description:

Get the domain name of the machine on which the process is running. An empty string is returned if the domain is not set.

Errors:

None.

See also:

GetHostName,seemGetdomainname2

Example
Program Example39;

{ Program to demonstrate the GetDomainName function. }

Uses linux;

begin
  Writeln ('Domain name of this machine is : ',GetDomainName);
end.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998