Search code examples
windowssecurityaccounts

API to Login Windows user


I would like to programmatically login another windows user in interactive mode. I've created new Windows user account and would like to switch system to that account without of user interaction.

Could you please point me to some API commands or MSDN pages? Thanks


Solution

  • looks like WTSConnectSession is the right direction