title: example code and API to log a user on and create a session and desktop - looking for - for Windows 7
body: <p>I am looking for example code and API to log a user on and create a session and desktop for Windows 7.</p>
  
  <p>I need do this from a non-interactive process running as a service.</p>