Logging to windows.  
Author Message
mareknik





PostPosted: Visual C# General, Logging to windows. Top

Hello

This is my first thread on this forum. And I want to say Hi to everybody J

And I have question. When I’m logging to windows(XP,2k3) I must enter user name and password. When i do this i click OK. When password or username is wrong, I get message that something is wrong.

My question is: How to hook to this button I want to get my messages(not from windows). And when username and password is good but additional condition isn’t fulfilled i want other message and to not allowed user to log on. Application whose check additional conditions and give my messages probably must run like service to do this, but I cant find any info about hooking OK button.

Is there some API to do this Can You give me some links because I cant find anything.

Thanks for help

mareknik

PS. Sorry for my bad english.



Visual C#11  
 
 
Brendan Grant





PostPosted: Visual C# General, Logging to windows. Top

You *can* work within the Gina system... however doing so from C# is highly discouraged (which is probably why I can't find any C# examples).

If you were to choose Gina, it is worth noting that it has been deprecated in Vista.



 
 
mareknik





PostPosted: Visual C# General, Logging to windows. Top

Thnx for help.

This is what’s i’m looking for J. But now i must find some info about Credential Provider to write same code for Vista without GINA. I have only find Credential Provider Samples and Credential Providers.doc but maybe I find more.

mareknik