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

Recommended Answers

All 2 Replies

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.