
Getting current workgroup or domain name
Hi,
Few time ago I needed to get the name of the current computer from VB, so I
used the GetComputerName API and everything OK.
Now I need to get the current workgroup or domain name to which the current
machine belongs to, but I didn't find no API that performs this.
Does anyone know that API (or any other way to accomplish my goal)?
Thanks,
Leonardo Bosi
--------------------------------------
Proximity Soft ( http://www.*-*-*.com/ )
Buenos Aires, Argentina
--------------------------------------
ICQ: 9027216
--------------------------------------
"What do you want to reinstall today...?"