Logout/Login or Fast User Switch via code?
-
I know I can trigger (from C++) the current user to be logged out of Windows (XP/Vista). Is it possible to SWITCH users either by triggering a logout/login or by triggering a fast user switch without the user having to do anything like enter their password, etc.? I would like to have a UI where a user can choose to switch to another user in one step (assuming they know the target password) without going through the Windows login screen. Any ideas? Thanks, Barry Etter
Barry Etter
-
I know I can trigger (from C++) the current user to be logged out of Windows (XP/Vista). Is it possible to SWITCH users either by triggering a logout/login or by triggering a fast user switch without the user having to do anything like enter their password, etc.? I would like to have a UI where a user can choose to switch to another user in one step (assuming they know the target password) without going through the Windows login screen. Any ideas? Thanks, Barry Etter
Barry Etter
For switching between users u need to impersonate between the users try this link it may help u achive ur task http://www.codeproject.com/KB/system/UserImpersonation.aspx[^]
Regards, Pankaj Sachdeva There is no future lies in any job but future lies in the person who holds the job