I have developed a windows application in C# .net. I need to check given user name has admin privilege in the machine. In Vista, if user doesnot run the application as "Run as admin", the admin role check with windows identity will return false.
Could you please help me to check given user name has admin in the nachine?