Is there a way in Delphi to open the windows login dialog and (if the user logs in ok) retrieve the user name?

Have done much searching on the web without success.

Thanks

Re: Open windows logon dialog 80 80

maybe this will help
http://www.delphi3000.com/articles/article_3618.asp

best regards,

Re: Open windows logon dialog 80 80

I'm afaid that doesn't help.

I need to bring up the logon window first as added security. And then retrieve the user name from the logon window just in case the person is not logged onto the machine they are using.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.