Question

i am using C++ win32 API.

i have a gina logon dialogbox.

it contains a username textbox.

i want to show the last logon username in that textbox,when the system after restarted.

How can i get it?

Was it helpful?

Solution

If you are using system logon dialogbox (gina) you can use group policy to configure it:

http://support.microsoft.com/kb/324740

Set it to false to prevent username to be hidden.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top