• Post Reply Bookmark Topic Watch Topic
  • New Topic

Detemine User Privilege Using Applet

 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I find out using Java Applet, whether the user has Administrator Privilege or not?

My application will be used on Windows 2000 platform only.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!