Microsoft 开发人员网络 > 论坛主页 > Managed Extensibility Framework > How to identify, Is current user a Administrator..?
提出问题提出问题
 

建议的答复How to identify, Is current user a Administrator..?

  • 2009年5月21日 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

全部回复