• Post Reply Bookmark Topic Watch Topic
  • New Topic

Detemine User Privilege Using Applet  RSS feed

 
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: 42972
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!