Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day everyone

I am trying to access the log in event of the pc so when the user types his username and password and clicks login Does anyone know how to access that event using c# and activeDirectory.

Thanks in advance
Posted
Comments
ZurdoDev 26-Feb-14 7:55am    
First off, you would have to have a windows service to be able to detect that. But no, I don't know how to do that.
Sergey Alexandrovich Kryukov 26-Feb-14 10:17am    
Such think does exist. You can subscribe to the event. But this is for a local system. First of all, it would be good to know what AD scenario OP needs.
—SA
mrDivan 27-Feb-14 8:24am    
Good day Sergey

Here is my scenario: when the user logs in I want to immediately change his password email his new password to him update his password and expiry date in active directory. I have learned how to change the password in ad Im just looking for a way to detect the login

I know my explanation is basic but I am just trying to find out if it is possible

Kind regards

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900