TCC > Variables & Functions > Functions:
Comments (...)
@DOMAIN[name] : Returns the domain of the computer specified by the DNS or NetBios name. If name is not specified, returns the domain of the local computer.
Help URL: http://jpsoft.com/help/index.htm?f_domain.htm