Getting system user info from java app

From: Laura P (patersol_at_hotmail.com)
Date: 02/26/04

  • Next message: do: "Payment program question error??????"
    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


  • Next message: do: "Payment program question error??????"

    Relevant Pages

    • Re: Getting system user info from java app
      ... > into an account with admin rights can perform certain tasks. ... but cannot find a way to determine what privileges they ... > I realise there may not be a generic way of discovering this. ...
      (comp.lang.java)
    • Re: Removing Local Admin Accounts - What do you think?
      ... people the necessary admin rights on the workstations, ... The local admin account poses a high risk in terms of workstations ... Does this pose a security risk to have a local administrator account on ... Is this a general best practice, from a security point of view? ...
      (Security-Basics)
    • Re: Using Same Account as both Admin and Limited User
      ... I don't think I want to make it too easy to switch the account back ... and forth between LUA and Admin rights. ... There's no time pressure to ... Well, I do buy into the whole security thing: run as a LUA account, ...
      (microsoft.public.windowsxp.security_admin)
    • Re: msn messenger hacked
      ... Admin rights were of course needed to install the keylogger ... a machine that someone with Admin rights hadn't logged off of. ... but had installed a keylogger. ... You used someone else's computer while logged on with an account that others ...
      (microsoft.public.security)
    • Re: E2k7 eventsink identity prerequisits?
      ... You need to be careful if a user has been assigned admin rights they will be ... denied access to any other account other then there own so don't use the ...
      (microsoft.public.exchange.development)