We are working on a windows 8 native application that will need a feature to switch between an administrator account and an less privileged account and then back again. Assuming we have the credentials (user and password), is this possible programmatically - using a combination of a front-end (WPF) app and a background service?
Here are few links which we are looking into. We have already looked into it, just want to see if anything new for windows 8: C# - Programmatically Log-off and Log-on a user
Also, we are referring to the following system library call: https://msdn.microsoft.com/en-us/library/windows/desktop/aa378184%28v=vs.85%29.aspx
Any ideas/suggestions will be appreciable.