Go Back   Java Programming Forums > Java Standard Edition Programming Help > AWT / Java Swing


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2010, 11:32 AM
Junior Member
 

Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thalupularavi is on a distinguished road
Default Detecting system user privileges on XP OS?

Hi All,

How to identify logged user is admin or non-admin on XP OS using Java API?

We are planning to restrict non-admin users to run desktop application(Swing app) on XP.

Any inputs will be greatly appreciated.

Thanks,
Ravi T



Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence
  #2 (permalink)  
Old 04-02-2010, 03:17 PM
Json's Avatar
Super Moderator
 

Join Date: Jul 2009
Location: Manchester, United Kingdom
Posts: 1,157
Thanks: 54
Thanked 136 Times in 132 Posts
Json will become famous soon enoughJson will become famous soon enoughJson will become famous soon enough

I'm feeling Happy
Default Re: Detecting system user privileges on XP OS?

How about this.

How to use Windows API in Java?-Solution | Technobuz
Generated Documentation (Untitled)

// Json
Reply With Quote
  #3 (permalink)  
Old 05-02-2010, 11:43 AM
Junior Member
 

Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thalupularavi is on a distinguished road
Default Re: Detecting system user privileges on XP OS?

I just came accross some Windows API, which will suffice my requirement

CheckTokenMembership Function (Windows)

Looking for an example implementing this API in Java will be helpful.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tikal Eclipse - Moving system time leguin Java IDEs 2 03-12-2009 05:34 AM
System.CurrentTimeMilliseconds Dave Java SE APIs 1 26-08-2009 04:02 PM
Detecting File Download Completion fedfan JavaServer Pages: JSP & JSTL 4 05-06-2009 09:27 AM
[SOLVED] mobile operating system blackJava Mobile Applications 3 16-04-2009 07:44 PM
[SOLVED] Detecting whether the piece of code is executing? vivek1982 Web Frameworks 4 27-03-2009 10:17 AM


100 most searched terms
Search Cloud
2 dimensional arraylist java 2d arraylist java actionlistener actionlistener in java addactionlistener addactionlistener java convert double to integer java double format java double to integer in java double to integer java drag en drop programmeren java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space exception in thread "main" java.lang.nullpointerexception exception in thread "main" java.lang.outofmemoryerror: java heap space format double in java format double java get mouse position java java 2d arraylist java actionlistener java double format java double formatting java double to int java double to integer java format double java forum java forums java get mouse position java list to map java mouse position java programming forum java programming forums java programming practice problems java send keystrokes to another application java two dimensional arraylist java.io.ioexception: premature eof java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space java.util.arraylist jbutton action jbutton actionlistener jtextarea font jtextfield font size jxl.read.biff.biffexception: unable to recognize ole stream programming mutators and generics smack api two dimensional arraylist two dimensional arraylist java unable to sendviapost to url what is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?

All times are GMT. The time now is 02:08 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.