Hi,
I'd like to know if is there any way in C# to programatically log-in a Windows User Account?
We are currently developing an monitoring application and one of the feature is to be able to log-off the current Windows User and switch to another Windows User Account.
I have some few methods for Logging off, such as through API or Command Line. But what about logging-in a user account?