[ back to toc ]

Getting user's name,id,domain info

Date: 2002/02/21 12:29

I have this network where most of the computers are running win NT SP 6.
When you log on, you need to provide:
1. Provide ID number - alphanumeric;means that every personnel have their
own ID eg Staff0345.
2. Provide Password
3. Select Domain
I am interested in capturing the ID number eg Staff0345 plus the staff's
name (eg Bobby Ryan) for that ID number and also the domain name (eg

Is there a way for me to do this using C/C++?How?

Thanks a million

Consult the MSDN documentation. I do not know the actual Windows NT system
function calls. This issue is rather Windows NT specific and not C.


[ back to toc ]