>>>
>>>? Getenv("USERDNSDOMAIN")
>>>? Getenv("USERDOMAIN")
>>>
>>hi Hugo..
>>
>>well.. I already try both here... the first one brings me null result
>>
>>the second brings the name of this computer on the LAN.. instead of the name of domain (or network workgroup name)
>
>Unless your computer is part of a Windows Server domain, its "domain" will be your local computer.
my PC isn't part of a Windows Server domain
so, if you meant ? Getenv("DOMAIN")... brought me NULL value
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20