Description
The Sys.DomainName
property returns the name of the domain to which the computer you are working on belongs.
Declaration
Applies To
The property is applied to the following object:
Property Value
The string containing the name of the current computer’s domain.