How to find if user is administrator on windows

From: Gautam (gautammba_at_yahoo.com)
Date: 06/17/04

  • Next message: Roedy Green: "Re: How to find if user is administrator on windows"
    Date: 17 Jun 2004 11:01:05 -0700
    
    

    Hi,

    Is there a way in java to check if the user who is executing the
    program on windows is in administrator group?
    If not possible in pure java, what native api should I use?

    Thanks
    Gautam


  • Next message: Roedy Green: "Re: How to find if user is administrator on windows"

    Relevant Pages

    • Re: In the Shallow End
      ... Yes, with Apple finally getting in there, technology is finally moving along nicely again. ... What they like to do is use the Windows desktop as data gathering frontends to these operations. ... They had other plans for Java, ... They make computers for the elite. ...
      (comp.sys.mac.advocacy)
    • Re: IE6 javascript & active x not working
      ... > I'm trying to fix a problem on a Windows XP SP1 Compaq computer. ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... ActiveX problems in IE ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: IE6 cannot access secured sites after SP2 install
      ... I installed Windows script 5.6 ... >To download Java VM for XP: ... >Windows Update/Enable the Windows Update Catalog. ... >Sun also offers an automatic download and install of the ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: Control Panel Add/Remove Programs shuts down pc
      ... Except for the Hot Fixes and the screw up with Java, ... If you Export the Uninstall key, you can open the .reg file and peruse it ... All that does is remove Installer remnants from the ... don't have it installed under Windows XP ... ...
      (microsoft.public.windowsupdate)
    • Re: field validation (was Re: COBOL/DB2 Date edit question)
      ... regular Windows application, and certainly not by a mainframe application ... (or mainframe OS does not support Java). ... one or two subroutines written in Standard (Fujitsu NetCOBOL) COBOL, and C#, ...
      (comp.lang.cobol)