Getting system user info from java app
From: Laura P (patersol_at_hotmail.com)
Date: 02/26/04
- Previous message: SubbaRao Karanam: "java.io.StreamCorruptedException: invalid stream header"
- Next in thread: nos: "Re: Getting system user info from java app"
- Reply: nos: "Re: Getting system user info from java app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Feb 2004 00:26:50 -0800
Hi,
In my application I need to ensure that only people who are logged
into an account with admin rights can perform certain tasks. I have
got as far as using System.getProperty("user.name") to find out who is
logged in, but cannot find a way to determine what privileges they
have.
I realise there may not be a generic way of discovering this.
Although it would be nice to have this functionality for all
platforms, my current project requires it only for Windows 2000.
Does anyone have any pointers on how to discover this information?
Regards,
Laura
- Previous message: SubbaRao Karanam: "java.io.StreamCorruptedException: invalid stream header"
- Next in thread: nos: "Re: Getting system user info from java app"
- Reply: nos: "Re: Getting system user info from java app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|