views:

13

answers:

0

I have an application that has to run in normal mode with non admin users. Only for certain functionality, it requires admin privileges. I want to impersonate a non admin user with an admin user by asking the creds when a task that requires admin rights are needed. I am not sure how we can achieve this in a .net framework 3.5 Winforms application. Also I am not sure how to handle special considerations related to Vista/Win7 UAC.

Suggestions?