Solved

Win98 and domain name

Posted on 2004-08-12
3
165 Views
Last Modified: 2010-04-05
Hi,

I need to obtain the DOMAIN NAME name a user, using win98, has logged onto. They will be logging onto an NT4 domain. I am developing using Delphi 7 on XP.

Thanks,
Dion
0
Comment
Question by:Diono
3 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11785313
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/determining_the_validating_server_on_windows_95_98_me.asp

Above link might offer some help, but I fear you're asking for the (near) impossible. Using 16-bits libraries to retrieve the domain name? There must be an easier way, I hope...
0
 
LVL 5

Accepted Solution

by:
Hypoviax earned 500 total points
ID: 11797980
Try using this component library and get the computerinfo component to retrieve the data

http://homepages.borland.com/jedi/jvcl/

You may find some of the other components useful,

Hypoviax
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now