.NET Framework Developer Center > .NET Development Forums > Managed Extensibility Framework > How to identify, Is current user a Administrator..?
Ask a questionAsk a question
 

Proposed AnswerHow to identify, Is current user a Administrator..?

  • Thursday, May 21, 2009 3:57 AMVishwas Srivastava Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

All Replies