MSDN > 論壇首頁 > Managed Extensibility Framework > How to identify, Is current user a Administrator..?
發問發問
 

提議的解答How to identify, Is current user a Administrator..?

  • Thursday, 21 May, 2009 3:57Vishwas Srivastava 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi,

    Is there any registry key using which I can identify that weather the current user is Administrator or not...
    I need to do this so that i can exit my Setup if the current user is not an Admin.

    Or recoment me if there is some other way to achieve the same.



    Thanks,

    vishwas Srivastava

所有回覆