Click to See Complete Forum and Search --> : NT Domain Name


Danny Boy
August 17th, 1999, 10:38 AM
How can I get the name of the NT Domain I'm logged onto?
(Must work under 95 and NT)

Thanks

August 17th, 1999, 02:11 PM
U can use Windows APIs. try looking at api text viewer in visual basic group.

Srini

DDan
August 17th, 1999, 03:21 PM
Try the registry...Win95 (I'm at home now [Win95] and unfortunately I won't be back to my NT box for two weeks)

HKey=HKEY_LOCAL_MACHINE
SubKey=System\CurrentControlSet\Services\MSNP32\NetworkProvider
Item=AuthenticatingAgent

Hope this helps!

Thanks in advance,

DDan

martijn
May 24th, 2000, 04:24 AM
Do you have the functioncode?