How can I find out using JavaApplet, whether the user has Administrator Privilege or not?
My application will be used on Windows 2000 platform only.
My blood is tested +ve for Java.
posted 11 years ago
You can't do that in pure Java. Since you're on Windows only, you might use a Java-to-COM bridge which accesses a COM object that gets you this information (I'm assuming that such an object exists). The applet would need to signed in order to access native code, though.